Last updated 3 months ago
Was this helpful?
/Webhooks
curl -L \ --url 'https://api.younium.com/Webhooks'
[ { "id": "123e4567-e89b-12d3-a456-426614174000", "url": "text", "token": "text", "description": "text", "events": [ "text" ], "webhookStatus": "Enabled" } ]
curl -L \ --request POST \ --url 'https://api.younium.com/Webhooks' \ --header 'Content-Type: application/json' \ --data '{"url":"https://example.com","events":[null],"webhookStatus":"Enabled"}'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "url": "text", "token": "text", "description": "text", "events": [ "text" ], "webhookStatus": "Enabled" }
/Webhooks/{id}
curl -L \ --url 'https://api.younium.com/Webhooks/{id}'
The identifier of the webhook
curl -L \ --request DELETE \ --url 'https://api.younium.com/Webhooks/{id}'
No body