Webhooks
Create a webhook endpoint
Changed onThe endpoint creates a webhook.
post/v1/webhooks/
Request
- Base URLhttps://prod.truv.com
- URLhttps://prod.truv.com/v1/webhooks/
- AuthAPI key in header X-Access-Client-Id and API key in header X-Access-Secret
Request body
Example request
{
"webhook_url": "http://example.com/",
"events": [
"task-status-updated",
"order-status-updated"
],
"env_type": "dev"
}Response
Example response
{
"id": "48427a36d43c4d5aa6324bc06c692456",
"webhook_url": "http://example.com/",
"events": [
"task-status-updated",
"order-status-updated"
],
"env_type": "dev",
"created_at": "2022-05-04T11:30:00Z",
"updated_at": "2022-05-04T12:00:00Z"
}Changes
- warning
added the new
order-batch-completedenum value to the/response property for the response status - info
added the new
order-batch-completedenum value to the request property/
- warning
- warning
added the new
certification-completedenum value to the/response property for the response status - warning
added the new
order-finalizedenum value to the/response property for the response status - info
added the new
certification-completedenum value to the request property/ - info
added the new
order-finalizedenum value to the request property/
- warning