Update Webhook
Updates a Webhook by id.
URLs
Environment | Method | URL |
---|---|---|
Sandbox | https://micro.fndev.net/v1/webhook-sandbox/webhooks/webhook_id | |
Production | https://micro.fieldnation.com/v1/webhook/webhooks/webhook_id |
Header Parameters
Parameter | Type | Example | Notes |
---|---|---|---|
fn-token | string | abCDEFGIsInR5cCI6IuXVCJ9.eyJ11wXYZ | Secret Token. Required. |
Path Parameters
Parameter | Type | Example | Notes |
---|---|---|---|
webhook_id | string | 5a1c3942b6d6e80261167a1c | Webhook ID. Required. |
Query Parameters
Not applicable.
Body Parameters
Here’s an example to update events. company_id is required.
{
"company_id": 183,
"events": ["workorder.created", "workorder.paid"]
}
Response
Returns the Webhooks Object.