webhooks
Create a webhook
Create a webhook for specific events in the environment.
post/v2/environment/webhooks
Request
- Base URL: https://api.shipstation.com
- URL: https://api.shipstation.com/v2/environment/webhooks
- Auth: API key in header api-key
Request body
Example request
{
"name": "My New Webhook",
"url": "http://api.shipstation.com/v2/labels/se-28529731",
"headers": [
{
"key": "custom-key",
"value": "custom-value"
}
],
"store_id": 123456
}Response
The request was a success.
Example response
{
"webhook_id": "se-28529731",
"url": "http://api.shipstation.com/v2/labels/se-28529731",
"headers": [
{
"key": "custom-key",
"value": "custom-value"
}
],
"name": "My Webhook",
"store_id": 123456
}Changes
No recorded changes to this operation across all 1 revision of this API.