v1
latestOpenAPI 3.0.02026-07-1397337495.2 KBwebhooks
Create a Webhook
Create a webhook for specific events in the environment.
post/v1/environment/webhooks
Request body
Example request
{
"url": "http://api.shipengine.com/v1/labels/se-28529731",
"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": "http://api.shipengine.com/v1/labels/se-28529731",
"headers": [
{
"key": "custom-key",
"value": "custom-value"
}
],
"name": "My Webhook",
"store_id": 123456
}