Create a new webhook subscription.
Security
ArxusSSO(Required scopes: ROLE_ITSM_SANDBOX_WRITE)
The contracts that trigger the webhook (wildcards permitted).
Default:["*"]
Example:
[ "*" ]
The events that trigger the webhook (wildcards permitted).
Default:["*"]
Example:
[ "case.updated", "case.comment.created" ]
- Mock serverhttps://developer.arxus.eu/_mock/apis/care/openapi/sandbox/webhooks
- Development ( Arxus internal use only )https://api-dev.arxus.eu/care/v0/sandbox/webhooks
- Acceptance( Arxus internal use only )https://api-acc.arxus.eu/care/v0/sandbox/webhooks
- Productionhttps://api.arxus.eu/care/v0/sandbox/webhooks
curl -i -X POST \
https://developer.arxus.eu/_mock/apis/care/openapi/sandbox/webhooks \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"contracts": [
"*"
],
"events": [
"case.updated",
"case.comment.created"
],
"url": "https://example.com/webhooks/care",
"auth": {
"type": "basic",
"username": "my-service-user",
"password": "s3cr3t-p@ssw0rd"
}
}'Response
{ "meta": {}, "data": { "id": "6825d2cf57918d1ca439bb5e", "contracts": [ … ], "events": [ … ], "url": "https://example.com/webhooks/care", "auth": { … }, "created": "2025-01-15T10:30:00Z", "updated": "2025-01-16T08:00:00Z", "called": null } }