Webhooks
Overview
Webhooks let your application receive real-time HTTP notifications when events occur in Animo (new submissions, lead changes, meeting bookings, etc.). Use the API to register, update, and remove webhook endpoints. This documentation covers webhook management endpoints only (register, update, remove). Event delivery is handled by Animo when events occur.Prerequisites
- Company subscription must include
USE_INTEGRATIONS. - Token must include at least one
*:subscribescope matching the events you want to receive.
Webhook events
| Event value | Scope required | Description |
|---|---|---|
activation-submitted | activations:subscribe | New activation submission |
form-submitted | submissions:subscribe | New form submission |
lead-created | leads:subscribe | Lead created |
lead-updated | leads:subscribe | Lead updated |
lead-deleted | leads:subscribe | Lead deleted |
meeting-booked | meetings:subscribe | Meeting booked |
meeting-updated | meetings:subscribe | Meeting updated |
meeting-cancelled | meetings:subscribe | Meeting cancelled |
Endpoints
Attach webhook
- Method:
POST - Path:
/api/v1/{company}/webhooks/attach - Scope: At least one of
activations:subscribe,submissions:subscribe,leads:subscribe,meetings:subscribe - Subscription:
USE_INTEGRATIONS
Request body
| Field | Required | Description |
|---|---|---|
name | Yes | Unique name per user (max 255 chars) |
url | Yes | HTTPS callback URL (max 255 chars) |
events | Yes | Array of webhook event values (must match your token scopes) |
Response 201
token securely — it is required to update or detach the webhook.
Response fields
| Field | Type | Description |
|---|---|---|
id | string | Webhook UUID |
name | string | Webhook name |
token | string | Secret token for update/detach |
url | string | Callback URL |
events | array | Subscribed event values |
created_at | string | ISO 8601 timestamp |
Update webhook
- Method:
PATCH - Path:
/api/v1/{company}/webhooks/update - Scope: Matching subscribe scope(s) for any events being set
- Subscription:
USE_INTEGRATIONS
Request body
At least one ofname, url, or events must be provided (along with id and token).
| Field | Required | Description |
|---|---|---|
id | Yes | Webhook UUID |
token | Yes | Secret token from attach response |
name | No | New name |
url | No | New HTTPS URL |
events | No | New event array |
Response 200
Returns the updated WebhookResource.
Errors
| Status | When |
|---|---|
422 | Invalid token or validation failure |
Detach webhook
- Method:
DELETE - Path:
/api/v1/{company}/webhooks/detach - Scope: Any subscribe scope (token must be valid)
- Subscription:
USE_INTEGRATIONS