Authorizations
Body
application/json
Response
Successful response
curl --request PUT \
--url https://{subdomain}.nudj.cx/api/v2/admin/webhooks/configs \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '{
"webhookConfig": [
{
"events": [
"achievement-completion"
],
"url": "<string>",
"httpMethod": "GET",
"isEnabled": true,
"maxRetries": 2,
"headers": {}
}
]
}'
{
"webhookConfig": [
{
"events": [
"achievement-completion"
],
"url": "<string>",
"httpMethod": "GET",
"isEnabled": true,
"maxRetries": 2,
"headers": {}
}
]
}
Update the webhook configuration for the organisation.
curl --request PUT \
--url https://{subdomain}.nudj.cx/api/v2/admin/webhooks/configs \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '{
"webhookConfig": [
{
"events": [
"achievement-completion"
],
"url": "<string>",
"httpMethod": "GET",
"isEnabled": true,
"maxRetries": 2,
"headers": {}
}
]
}'
{
"webhookConfig": [
{
"events": [
"achievement-completion"
],
"url": "<string>",
"httpMethod": "GET",
"isEnabled": true,
"maxRetries": 2,
"headers": {}
}
]
}
Show child attributes
Successful response
Show child attributes
Was this page helpful?