Claim a webhook delivery once
curl --request POST \
--url https://api.usenexio.com/webhooks/delivery-claims \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"delivery_id": "<string>",
"event_type": "<string>",
"kind": "<string>",
"org_id": "<string>"
}
'import requests
url = "https://api.usenexio.com/webhooks/delivery-claims"
payload = {
"delivery_id": "<string>",
"event_type": "<string>",
"kind": "<string>",
"org_id": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
delivery_id: '<string>',
event_type: '<string>',
kind: '<string>',
org_id: '<string>'
})
};
fetch('https://api.usenexio.com/webhooks/delivery-claims', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"claimed": true
}
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}Webhooks
Claim a webhook delivery once
Records the first claim of an inbound delivery for the organization and answers whether this call won it. The organization’s own live key only; every scoped key is refused.
POST
/
webhooks
/
delivery-claims
Claim a webhook delivery once
curl --request POST \
--url https://api.usenexio.com/webhooks/delivery-claims \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"delivery_id": "<string>",
"event_type": "<string>",
"kind": "<string>",
"org_id": "<string>"
}
'import requests
url = "https://api.usenexio.com/webhooks/delivery-claims"
payload = {
"delivery_id": "<string>",
"event_type": "<string>",
"kind": "<string>",
"org_id": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
delivery_id: '<string>',
event_type: '<string>',
kind: '<string>',
org_id: '<string>'
})
};
fetch('https://api.usenexio.com/webhooks/delivery-claims', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"claimed": true
}
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}