List Events
GET/v1/events
API key requiredSuccess 200
Parameters
| Name | Type | Description |
|---|---|---|
afterquery | integer | Default 0; range ≥ 0 |
limitquery | integer | Default 50; range 1–200 |
X-Project-IDheader | string | The project to act on; the default project when omitted; nullable |
Response 200 application/json
| Name | Type | Description |
|---|---|---|
datarequired | array<object> | |
data[].idrequired | string | |
data[].sequencerequired | integer | |
data[].typerequired | string | |
data[].created_atrequired | number | |
data[].api_versionrequired | string | |
data[].project_idrequired | string | nullable |
data[].datarequired | object | |
next_cursorrequired | integer | Sequence number to pass as after; unchanged when the page is empty |
has_more | boolean | Default false |
Example
curl "https://axiomlab.online/v1/events" \ -H "Authorization: Bearer $AZIMO_API_KEY"
List Webhooks
GET/v1/webhooks
API key requiredSuccess 200
Parameters
| Name | Type | Description |
|---|---|---|
limitquery | integer | Default 50; range 1–200 |
cursorquery | string | length ≤ 256; nullable |
afterquery | string | length ≤ 256; nullable |
X-Project-IDheader | string | The project to act on; the default project when omitted; nullable |
Response 200 application/json
| Name | Type | Description |
|---|---|---|
datarequired | array<object> | |
data[].idrequired | string | |
data[].project_idrequired | string | nullable |
data[].kindrequired | string | |
data[].namerequired | string | |
data[].versionrequired | integer | |
data[].created_atrequired | number | |
data[].updated_atrequired | number | |
data[].datarequired | object | |
data[].data.namerequired | string | |
data[].data.urlrequired | string | |
data[].data.active | boolean | Default true |
data[].data.has_secretrequired | boolean | |
next_cursor | string | Opaque; pass as cursor (or the after alias) for the next page; nullable |
has_more | boolean | Default false |
Example
curl "https://axiomlab.online/v1/webhooks" \ -H "Authorization: Bearer $AZIMO_API_KEY"
Create Webhook
POST/v1/webhooks
API key requiredSuccess 201
Parameters
| Name | Type | Description |
|---|---|---|
Idempotency-Keyheader | string | A unique value you generate and keep; reuse it when retrying so the request never runs twice; length 1–128; nullable |
X-Project-IDheader | string | The project to act on; the default project when omitted; nullable |
Request body application/json
| Name | Type | Description |
|---|---|---|
name | string | Default Webhook; length ≤ 160 |
urlrequired | string | length ≤ 2000 |
active | boolean | Default true |
Response 201 application/json
| Name | Type | Description |
|---|---|---|
idrequired | string | |
project_idrequired | string | nullable |
kindrequired | string | |
namerequired | string | |
versionrequired | integer | |
created_atrequired | number | |
updated_atrequired | number | |
datarequired | object | |
data.namerequired | string | |
data.urlrequired | string | |
data.active | boolean | Default true |
data.has_secretrequired | boolean | |
signing_secretrequired | string | Shown at creation/rotation and for the same actor's idempotent retry within 24 hours; nullable |
Example
curl -X POST "https://axiomlab.online/v1/webhooks" \
-H "Authorization: Bearer $AZIMO_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"url": "<url>"}'Rotate Webhook Secret
POST/v1/webhooks/{webhook_id}/rotate-secret
API key requiredSuccess 200
Parameters
| Name | Type | Description |
|---|---|---|
webhook_idrequiredpath | string | |
expected_versionrequiredquery | integer | range ≥ 1 |
Idempotency-Keyheader | string | A unique value you generate and keep; reuse it when retrying so the request never runs twice; length 1–128; nullable |
X-Project-IDheader | string | The project to act on; the default project when omitted; nullable |
Response 200 application/json
| Name | Type | Description |
|---|---|---|
idrequired | string | |
project_idrequired | string | nullable |
kindrequired | string | |
namerequired | string | |
versionrequired | integer | |
created_atrequired | number | |
updated_atrequired | number | |
datarequired | object | |
data.namerequired | string | |
data.urlrequired | string | |
data.active | boolean | Default true |
data.has_secretrequired | boolean | |
signing_secretrequired | string | Shown at creation/rotation and for the same actor's idempotent retry within 24 hours; nullable |
Example
curl -X POST "https://axiomlab.online/v1/webhooks/<webhook_id>/rotate-secret?expected_version=<expected_version>" \ -H "Authorization: Bearer $AZIMO_API_KEY" \ -H "Idempotency-Key: $(uuidgen)"
Update Webhook
PUT/v1/webhooks/{webhook_id}
API key requiredSuccess 200
Parameters
| Name | Type | Description |
|---|---|---|
webhook_idrequiredpath | string | |
expected_versionrequiredquery | integer | range ≥ 1 |
X-Project-IDheader | string | The project to act on; the default project when omitted; nullable |
Request body application/json
| Name | Type | Description |
|---|---|---|
name | string | Default Webhook; length ≤ 160 |
urlrequired | string | length ≤ 2000 |
active | boolean | Default true |
Response 200 application/json
| Name | Type | Description |
|---|---|---|
idrequired | string | |
project_idrequired | string | nullable |
kindrequired | string | |
namerequired | string | |
versionrequired | integer | |
created_atrequired | number | |
updated_atrequired | number | |
datarequired | object | |
data.namerequired | string | |
data.urlrequired | string | |
data.active | boolean | Default true |
data.has_secretrequired | boolean |
Example
curl -X PUT "https://axiomlab.online/v1/webhooks/<webhook_id>?expected_version=<expected_version>" \
-H "Authorization: Bearer $AZIMO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "<url>"}'Delete Webhook
DELETE/v1/webhooks/{webhook_id}
API key requiredSuccess 200
Parameters
| Name | Type | Description |
|---|---|---|
webhook_idrequiredpath | string | |
X-Project-IDheader | string | The project to act on; the default project when omitted; nullable |
Response 200 application/json
| Name | Type | Description |
|---|---|---|
idrequired | string | |
deleted | boolean | Default true |
Example
curl -X DELETE "https://axiomlab.online/v1/webhooks/<webhook_id>" \ -H "Authorization: Bearer $AZIMO_API_KEY"
List Deliveries
GET/v1/webhook-deliveries
API key requiredSuccess 200
Parameters
| Name | Type | Description |
|---|---|---|
limitquery | integer | Default 50; range 1–200 |
cursorquery | string | length ≤ 256; nullable |
afterquery | string | length ≤ 256; nullable |
X-Project-IDheader | string | The project to act on; the default project when omitted; nullable |
Response 200 application/json
| Name | Type | Description |
|---|---|---|
datarequired | array<object> | |
data[].idrequired | string | |
data[].event_idrequired | string | |
data[].urlrequired | string | |
data[].statusrequired | string | |
data[].attemptsrequired | integer | |
data[].last_errorrequired | string | nullable |
data[].delivered_atrequired | number | nullable |
next_cursor | string | Opaque; pass as cursor (or the after alias) for the next page; nullable |
has_more | boolean | Default false |
Example
curl "https://axiomlab.online/v1/webhook-deliveries" \ -H "Authorization: Bearer $AZIMO_API_KEY"
Replay
POST/v1/webhook-deliveries/{delivery_id}/replay
API key requiredSuccess 202
Parameters
| Name | Type | Description |
|---|---|---|
delivery_idrequiredpath | string | |
webhook_idquery | string | length ≤ 32; nullable |
Idempotency-Keyheader | string | A unique value you generate and keep; reuse it when retrying so the request never runs twice; length 1–128; nullable |
X-Project-IDheader | string | The project to act on; the default project when omitted; nullable |
Response 202 application/json
| Name | Type | Description |
|---|---|---|
idrequired | string | |
statusrequired | string | One of: pending |
Example
curl -X POST "https://axiomlab.online/v1/webhook-deliveries/<delivery_id>/replay" \ -H "Authorization: Bearer $AZIMO_API_KEY" \ -H "Idempotency-Key: $(uuidgen)"