Skip to main content
reconify-python is a server-side client for Python 3.10 or newer. It needs a write or admin key, which Authentication covers.
Reconify has no sandbox or test mode. The event you send below becomes immutable evidence in your real organization, and the public API deletes nothing.

Install

The distribution installs from PyPI:
pip
The distribution is reconify-python, and the import name is reconify.

Configure a client

A client holds the key and the base URL:
The client reads RECONIFY_API_KEY and RECONIFY_API_URL when you omit api_key and base_url. The default base URL is https://api.reconifyhq.com/v2, and the client appends /v2 when your value omits it.
The constructor raises ReconifyValidationError when the key is missing or does not start with rk_. This happens before any network call, so a misconfigured deployment fails at startup rather than at the first event.
Both clients hold an HTTP connection pool, so they work as context managers. Outside a context manager, Reconify needs close() and AsyncReconify needs await aclose().

Send one event

Request fields use the wire format, and amount is a decimal string such as "150.00" rather than a float:
Each result is accepted, duplicate, or rejected, and its index matches the position of the event you sent. accepted means Reconify stored the event. It does not mean the monitored operation is complete.

Field names

Model fields use the wire format, not Python casing conventions applied to something else: send occurred_at, entity_id, and type. amount is a decimal string, such as "150.00". Passing a float fails model validation. Format money from Decimal, never from float arithmetic. One name differs between request and response: you send type, and an event read returns event_type. Request models reject unknown fields before sending. That turns a typo into an immediate ReconifyValidationError instead of a rejected event.

Use the async client

AsyncReconify exposes the same modules and method names.

Read the event back

A read confirms what Reconify stored:

Next

Build batches, handle every item result, and retry safely in Send events with Python.