Webhooks
Item deleted
Aira sends this event after it deletes an item, with the item as GET /v1/items listed it before the deletion.
WEBHOOK
item.deleted
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event": "item.deleted",
"payload": {
"item": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Monthly fee",
"customFields": {
"customField1": "value1",
"customField2": [
"value2",
"value3"
]
},
"archivedAt": "2023-11-07T05:31:56Z"
}
}
}Headers
Body
application/json
The event, with its identifier, its name and its payload.
Response
2XX
Answer with a 2XX status to confirm the delivery. Aira retries a delivery that gets another status, a redirect or no answer.
⌘I
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event": "item.deleted",
"payload": {
"item": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Monthly fee",
"customFields": {
"customField1": "value1",
"customField2": [
"value2",
"value3"
]
},
"archivedAt": "2023-11-07T05:31:56Z"
}
}
}