Create an API key
- In Replier, open your account menu and choose Manage account → Integrations.
- Under API keys, select Create API key.
- Enter a name you will recognize later, choose its access, and select Create key.
- Copy the key. Replier shows it only once.
Make a request
Send the key as a bearer token tohttps://api.usereplier.com/v1:
id from that list:
Errors
A refused request answers with an HTTP status and a body like this:code stays the same; message may be reworded. Some errors add fields beside them, such as the automation that already has the post you chose.
Retry safely
Requests that change something take anIdempotency-Key header. Send a new random value, such as a UUID, for each operation, and the same value when you retry it. A retry with the same key returns the first result instead of creating a second automation or sending replies twice. Sending catch-up, backfill or one-time replies, and creating a one-time automation, require the header; without it the request is refused with IDEMPOTENCY_KEY_REQUIRED.
expected_version with the version you read. If the automation changed since, the request is refused with VERSION_CONFLICT. Deleting an automation requires it.
Changes to the API
Within/v1, Replier only adds: new endpoints, new optional parameters, new response fields and new values in fields that list states or reasons. Ignore fields and values you don’t know. A change that would break existing code comes as /v2.