Webhook provides the mechanism to push tracking events as they occur. With help of this user would be able to receive events as they are generated and is received to the end user. This operation creates a webhook configuration. It needs details of events for which webhook tracking is required also the URL with its authorization details to which the tracking events be pushed.
Webhook created successfully
The request could not be authorized.
{- "name": "webhook1",
- "type": "tracking",
- "events": [
- "Manifest",
- "InTransit",
- "Delivered"
], - "timeOut": 5,
- "status": "active",
- "authParams": {
- "authType": "custom",
- "apiKey": "JsuG7jk",
- "headerName": "webhook1"
}
}
{- "webHookConfigID": "1Q86AvxyqmA",
- "name": "webhook1",
- "type": "tracking",
- "events": [
- "Manifest",
- "InTransit",
- "Delivered"
], - "timeOut": 5,
- "status": "active",
- "authParams": {
- "authType": "custom",
- "apiKey": "jsfjafhjfk",
- "headerName": "webhook1"
}
}