Authorization: Bearer ********************{
"url": "http://example.com",
"events": [
"reference.request.created"
],
"timeout_seconds": 5,
"max_retries": 0,
"is_active": true
}curl --location --request PUT '/webhooks/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "http://example.com",
"events": [
"reference.request.created"
],
"timeout_seconds": 5,
"max_retries": 0,
"is_active": true
}'{
"data": {
"id": 15,
"name": "Primary CRM",
"url": "http://example.com",
"events": [
"worker.status_changed"
],
"is_active": true,
"timeout_seconds": 0,
"secret_prefix": "string",
"last_delivered_at": "2019-08-24T14:15:22.123Z",
"last_response_code": 0,
"consecutive_failures": 0,
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
},
"message": "string"
}