Webhooks
Authorizations
Header parameters
api-versionstringOptional
Responses
200
Success
400
Bad Request.
application/json
401
Unauthorized
403
Forbidden
get
GET /Webhooks HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"url": "text",
"events": [
"text"
],
"token": "text",
"description": "text",
"webhookStatus": "Enabled"
}
]
Authorizations
Header parameters
api-versionstringOptional
younium-idempotency-keystringOptional
younium-idempotency-durationInHoursintegerOptional
Body
all ofOptional
Responses
201
Created
400
Bad Request.
401
Unauthorized
403
Forbidden
post
POST /Webhooks HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 94
{
"url": "https://example.com",
"events": [
"text"
],
"description": "text",
"webhookStatus": "Enabled"
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"url": "text",
"events": [
"text"
],
"token": "text",
"description": "text",
"webhookStatus": "Enabled"
}
Authorizations
Path parameters
idstring · uuidRequired
Header parameters
api-versionstringOptional
Responses
200
Success
400
Bad Request.
application/json
401
Unauthorized
403
Forbidden
get
GET /Webhooks/{id} HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"url": "text",
"events": [
"text"
],
"token": "text",
"description": "text",
"webhookStatus": "Enabled"
}
Authorizations
Path parameters
idstring · uuidRequired
The identifier of the webhook
Header parameters
api-versionstringOptional
Responses
200
Success
400
Bad Request.
application/json
401
Unauthorized
403
Forbidden
delete
DELETE /Webhooks/{id} HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Last updated
Was this helpful?