Webhooks
Aivyro tells your HTTPS endpoint when CRM or inbox state changes. No polling.
Subscribe an HTTPS endpoint. The URL must be HTTPS and must not point at a private network.
| HTTP | Path | Scope |
|---|---|---|
| GET | /api/v1/webhooks | rest.crm.webhooks.read |
| POST | /api/v1/webhooks | rest.crm.webhooks.write |
| GET | /api/v1/webhooks/{id} | rest.crm.webhooks.read |
| PATCH | /api/v1/webhooks/{id} | rest.crm.webhooks.write |
| DELETE | /api/v1/webhooks/{id} | rest.crm.webhooks.write |
| GET | /api/v1/webhooks/{id}/deliveries | rest.crm.webhooks.read |
| POST | /api/v1/webhooks/{id}/rotate_secret | rest.crm.webhooks.write |
GET /api/v1/webhooks returns a JSON array, not a cursor page. Empty workspace: []. signing_secret appears only on create and rotate.
Fields
| Field | Type | Notes |
|---|---|---|
| id | UUID | Immutable. |
| url | string | HTTPS. No private network. |
| events | string[] | At least one on create. |
| active | boolean | PATCH to pause. |
| signing_secret | string | Create and rotate only. |