Webhook Subscribers
Create a Webhook Subscriber
Create a new Webhook Subscriber
post/webhook-subscribers
Request body
Example request
{
"recipientUrl": "https://my-be-url.com/webhooks",
"subscribedTo": [
"customer.created"
]
}Response
OK
Example response
{
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"active": true,
"recipientUrl": "https://my-backend.com/webhooks",
"subscribedTo": [
"customer.created",
"customer.updated"
],
"sharedSecret": "218f5208d105f754025bb5cfa6b6aefd"
}Changes
Changed in 1 of the 2 revisions of this API.1
- ○
added the non-success response with the status
response-non-success-status-added
- ○