Create a webhook endpoint
curl --request POST \
--url https://api.usenexio.com/webhooks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"active": true,
"auth_token": "<string>",
"description": "<string>",
"events": [
"<string>"
],
"payload_mode": "<string>",
"url": "<string>",
"auth_header": "<string>"
}
'import requests
url = "https://api.usenexio.com/webhooks"
payload = {
"active": True,
"auth_token": "<string>",
"description": "<string>",
"events": ["<string>"],
"payload_mode": "<string>",
"url": "<string>",
"auth_header": "<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({
active: true,
auth_token: '<string>',
description: '<string>',
events: ['<string>'],
payload_mode: '<string>',
url: '<string>',
auth_header: '<string>'
})
};
fetch('https://api.usenexio.com/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"active": true,
"auth_token_configured": true,
"created_at": "<string>",
"environment": "<string>",
"events": [
"<string>"
],
"id": "<string>",
"payload_mode": "<string>",
"secret": "<string>",
"status": "<string>",
"url": "<string>",
"webhook_version": "<string>",
"auth_header": "<string>",
"deactivated_at": "<string>",
"deactivated_by": "<string>",
"deactivated_reason": "<string>",
"description": "<string>",
"previous_secret_expires_at": "<string>",
"updated_at": "<string>"
}{
"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
Create webhook endpoint
Register an HTTPS endpoint for run events and receive its signing secret once.
POST
/
webhooks
Create a webhook endpoint
curl --request POST \
--url https://api.usenexio.com/webhooks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"active": true,
"auth_token": "<string>",
"description": "<string>",
"events": [
"<string>"
],
"payload_mode": "<string>",
"url": "<string>",
"auth_header": "<string>"
}
'import requests
url = "https://api.usenexio.com/webhooks"
payload = {
"active": True,
"auth_token": "<string>",
"description": "<string>",
"events": ["<string>"],
"payload_mode": "<string>",
"url": "<string>",
"auth_header": "<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({
active: true,
auth_token: '<string>',
description: '<string>',
events: ['<string>'],
payload_mode: '<string>',
url: '<string>',
auth_header: '<string>'
})
};
fetch('https://api.usenexio.com/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"active": true,
"auth_token_configured": true,
"created_at": "<string>",
"environment": "<string>",
"events": [
"<string>"
],
"id": "<string>",
"payload_mode": "<string>",
"secret": "<string>",
"status": "<string>",
"url": "<string>",
"webhook_version": "<string>",
"auth_header": "<string>",
"deactivated_at": "<string>",
"deactivated_by": "<string>",
"deactivated_reason": "<string>",
"description": "<string>",
"previous_secret_expires_at": "<string>",
"updated_at": "<string>"
}{
"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>"
}Body
application/json
Response
Created
Last modified on November 30, 2026