API reference

Check a key, subscribe an address to business events, remove a subscription and read recent events: requests, responses, errors and limits.

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

How to get a key

  1. Open “Modules” in the top menu, connect the “Integrations” module (it is off by default) and click “Open integrations” on its card.
  2. Open the “API keys” tab, type a name for the key and click “Create key”.
  3. 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_...

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
  }
}

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:

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.

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:

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
    }
  ]
}

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"
  }
}

Codes:

Limits

When the module is off or a key is revoked

Other addresses of the service

What's next

← All articles