webhooks
Create a webhook
Create a webhook for specific events in the environment.
post/v1/environment/webhooks
Request body
Example request
{
"url": "https://example.com/resource",
"headers": [
{
"key": "custom-key",
"value": "custom-value"
}
],
"name": "My New Webhook",
"store_id": 123456
}Response
The request was a success.
Example response
{
"webhook_id": "se-28529731",
"url": "https://example.com/resource",
"headers": [
{
"key": "custom-key",
"value": "custom-value"
}
],
"name": "My Webhook",
"store_id": 123456
}