Update a webhook status in the Pulsifi system.
Headers
- Accept :
application/json
- Content-Type :
application/json
- Authorization :
Bearer {access_token}
Path Parameters
webhook_id
nullable string (uuid) RequiredThe unique identifier for the webhook created in the Pulsifi system.
Body
status
nullable enum RequiredThe status of the webhook.
active
inactive
Response
200 OK.
Parameters
PUT /partner/v1.0/webhooks/:webhook_id/status
curl -X PUT 'https://staging.api.pulsifi.me/partner/v1.0/webhooks/{webhook_id}/status' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
-d '{
"status": "inactive"
}'
Response
{
"data": {
"id": "<Pulsifi Webhook ID>",
"partner_id": "<Partner ID>",
"name": "<Webhook Name>",
"url": "<Webhook URL>",
"events": ["candidate_application_result_ready"],
"status": "inactive",
"is_deleted": false,
"created_at": "2024-10-04T04:06:55.124Z",
"created_by": 1
},
"meta": null
}