The Aidanto API lets your own program subscribe to the events of your business: new conversations, bookings, requests for a team member, support requests and messages. It has four routes: check a key, subscribe an address to an event, remove a subscription and read recent events. The API only reports events: it does not change bookings, conversations or settings.
Zapier uses the same routes by itself. To connect Zapier you do not need this page: see Connecting Zapier.
Address and format
All routes are on one address and start with /v1:
https://api.aidanto.com
- Send requests over HTTPS from your server. A web page cannot call the API from the browser, and the key must never be placed in a page or an app that customers can open.
- Responses are JSON. A successful response holds the result in
data. A failed one holdserrorwithcode,messageandcorrelation_id. - New fields can be added to responses and events. Ignore the fields you do not know.
How to get a key
- Open “Modules” in the top menu, connect the “Integrations” module (it is off by default) and click “Open integrations” on its card.
- Open the “API keys” tab, type a name for the key and click “Create key”.
- Click “Copy key” and keep the key in a safe place. It is shown once: if you lose it, revoke it and create a new one.
Only the Owner and the Administrator can create and revoke keys. A business can have up to 10 active keys, so make a separate key for each program.
Send the key in the Authorization header of every request:
Authorization: Bearer rwk_3f9a1c2b7d4e_...
- A key is
rwk_, 12 characters,_and 64 more characters: 81 in total, digits and lowercase letters from a to f. The first 16 characters are not secret: the key list shows them so that you can tell keys apart. - The key is read only from this header. A key in the request address or in a cookie is ignored.
- A key belongs to one business, and the business is taken from the key. Requests carry no business identifier.
- Every key has two permissions:
integrations.hooks.manageto subscribe and unsubscribe, andintegrations.events.readto read recent events. - Keep the key private: whoever has it can subscribe to the events of your business, including customer contacts.
Check a key: GET /v1/me
Returns the business the key belongs to and what the key allows. It works even while the “Integrations” module is off, so use it to test a connection.
curl https://api.aidanto.com/v1/me \
-H "Authorization: Bearer $AIDANTO_API_KEY"
Response with code 200:
{
"data": {
"business": { "name": "Example Studio" },
"key": {
"label": "My server",
"prefix": "rwk_3f9a1c2b7d4e",
"grants": ["integrations.hooks.manage", "integrations.events.read"]
},
"integrations_module_enabled": true
}
}
business.name: the name of the business.key.label: the name you gave the key.key.prefix: its first 16 characters.key.grants: its permissions.integrations_module_enabled:falsewhile the “Integrations” module is off.
Subscribe to an event: POST /v1/hooks
Creates a subscription: from this moment Aidanto sends every event of the chosen type to your address. One subscription carries one event type, so send one request for each type you need.
Send the Content-Type: application/json header and a JSON body of up to 4 KiB (4096 bytes) with two fields:
target_url: the address that receives the events, up to 2048 characters. It must be public and start with https. These are rejected: an http address, an IP address instead of a domain, a custom port, a login and password, a part after#, an internal address and an address on an Aidanto domain.event: one event type from the list below.
Other fields are ignored.
curl -X POST https://api.aidanto.com/v1/hooks \
-H "Authorization: Bearer $AIDANTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"target_url": "https://example.com/aidanto-events?token=4f1c9a7e2b8d", "event": "booking.created"}'
Response with code 201:
{
"data": {
"id": "0b9f1c2e-7a41-4c1e-9f55-3c7a6d1e2b44",
"event": "booking.created"
}
}
Save id: you need it to remove the subscription.
- A repeated request with the same key, address and event creates nothing new and returns the same
id. Repeating a request after a failure is safe. - Events arrive the same way as for any receiver: a POST request with a JSON body, retries and automatic shutdown. See Integrations and webhooks.
- Requests are signed, but the API does not return the signing secret, so the receiver of such a subscription cannot check the signature. Put a long random token in
target_urland check it on your side. If you need the signature, add the receiver by hand on the “Webhooks” tab instead: there the secret is shown once. - In Aidanto the subscription appears on the “Webhooks” tab as a receiver marked “Created from Zapier” with the name of the key, whatever program created it. There the Owner and the Administrator can pause it, turn it on or delete it.
- If a subscription was paused or turned off automatically, a repeated request returns its
idbut does not turn it on. Click “Turn on” on its card, or remove the subscription and create it again. - A business can have up to 50 subscriptions created through the API, for all keys together. They do not count toward the limit of 5 receivers added by hand.
Remove a subscription: DELETE /v1/hooks/{id}
Removes a subscription created with the same key. Put the id from the subscribe response in place of {id}. The request has no body and works even while the “Integrations” module is off.
curl -X DELETE https://api.aidanto.com/v1/hooks/0b9f1c2e-7a41-4c1e-9f55-3c7a6d1e2b44 \
-H "Authorization: Bearer $AIDANTO_API_KEY"
Response with code 200:
{
"data": { "deleted": true }
}
Code 404 means that this key has no such subscription: it was already removed, it was created with another key or the receiver was added by hand. Treat code 404 as success: the subscription is already gone.
Read recent events: GET /v1/events
Returns the latest events of one type from the event log of your business, newest first. Each event has exactly the form a receiver gets. Use it to show an example or to test your code. To receive every event, subscribe.
Parameters in the request address:
type: an event type from the list below. Required.limit: how many events to return, from 1 to 10. Without it, 3 are returned.
curl "https://api.aidanto.com/v1/events?type=conversation.started&limit=1" \
-H "Authorization: Bearer $AIDANTO_API_KEY"
Response with code 200:
{
"data": [
{
"schema_version": "business-webhook.v1",
"id": "5b0c5e2e-0000-4000-8000-000000000003",
"type": "conversation.started",
"occurred_at": "2026-10-07T09:28:00.000Z",
"business": { "name": "Example Studio" },
"employee": { "name": "Anna" },
"conversation": { "url": "https://app.example.com/businesses/studio/inbox?conversation=example" },
"customer": { "name": "Maria", "email": "maria@example.com", "phone": "+1 555 0100" },
"booking": null,
"actor": { "kind": "customer" },
"channel": "web",
"handoff": null,
"support_case": null,
"message": null,
"transcript": null
}
]
}
- When there are no events of this type yet,
datais an empty list. - For
message.createdandconversation.transcriptthe list is always empty: the text of conversations is not kept in the event log. These events come only through a subscription.
Event types
conversation.started
conversation.handoff_requested
conversation.handed_off
booking.created
booking.changed
booking.cancelled
support_case.created
support_case.updated
message.created
conversation.transcript
What each event means, every field of its JSON, the signature headers and the retry times are described in Integrations and webhooks.
Errors
Every failed response has the same form:
{
"error": {
"code": "integrations_module_disabled",
"message": "The Integrations module is turned off for this business.",
"correlation_id": "3d7f6a52-8f0b-4a53-9f0e-2a6c1d4b7e90"
}
}
code: a fixed word for your program.message: a short explanation in English for a person. Its wording can change, so do not rely on the exact text.correlation_id: the identifier of this request. Send it to support when you ask about a failure.
Codes:
- 400
invalid_request: the request is not valid. For example, the body is not JSON, theContent-Typeheader is notapplication/json,target_urlis missing or longer than 2048 characters, the event type is unknown,limitis not from 1 to 10 or{id}is not a subscription identifier. - 401
unauthorized: the key is missing, malformed, unknown or revoked, or the business is archived. The response is the same in every case. - 403
forbidden: the key does not have the permission this route needs. - 403
integrations_module_disabled: the “Integrations” module is off. Connect it in “Modules” and repeat the request. - 404
not_found: there is no such route, or this key has no such subscription. - 405
invalid_request: the route does not accept this method. TheAllowheader names the right one. - 409
hook_limit_reached: the business already has 50 subscriptions created through the API. - 413
payload_too_large: the request body is larger than 4 KiB. - 422
target_url_rejected: the address is not allowed.messagenames the reason in brackets:https_required,ip_literal,port_not_allowed,credentials_in_url,private_host,platform_host,invalid_urlortoo_long. - 429
rate_limited: too many requests. TheRetry-Afterheader says how many seconds to wait. - 503
unavailable: a temporary failure. Repeat the request later.
Limits
- 120 requests a minute for each key.
- 20 failed key checks a minute from one network. After that every request from this network gets code 429 until the minute passes, even with a valid key. Neighbouring IP addresses count as one network.
- 4 KiB for a request body and 2048 characters for an address.
- 10 active keys and 50 subscriptions created through the API for a business.
When the module is off or a key is revoked
- While the “Integrations” module is off, subscribing and reading events answer with code 403 and
integrations_module_disabled. Checking a key and removing a subscription keep working. Subscriptions stay, but nothing is delivered, and events that happen in the meantime are not sent later. - To revoke a key, click “Revoke” on it on the “API keys” tab, then “Revoke key”. From that moment every request with the key gets code 401, and all subscriptions created with it are deleted. This cannot be undone: create a new key and subscribe again.
- A key is also revoked automatically when the person who created it is removed from the team or the business is archived.
Other addresses of the service
GET /healthneeds no key and answers with code 200 while the service works.- The secret calendar link that ends in
.icsis on the same address. It works without a key: the link itself is the secret. See Bookings in Google Calendar, Outlook and Apple Calendar.