Create a Webhook
Changed onCreate a webhook for specific events in the environment.
Request
- Base URLhttps://api.shipengine.com
- URLhttps://api.shipengine.com/v1/environment/webhooks
- AuthAPI key in header API-Key
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
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- info