Update a webhook configuration
Changed onThis endpoint updates a webhook configuration.
Request
- Base URLhttps://api.partoo.co/v2
- AuthAPI key in header x-APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The webhook object identifier.
Query parameters
Organization identifier, only required for PROVIDER users.
Request body
Example request
{
"url": "https://example.com/webhook",
"custom_headers": {
"X-My-Header": "my-value",
"X-Auth-Token": "secret-token"
}
}Response
OK
Example response
{
"id": 1,
"url": "https://example.com/webhook",
"event_type": "business_created",
"created_at": "2024-11-27T16:10:44.929678Z",
"updated_at": "2024-11-27T16:10:44.929678Z",
"org_id": 1,
"custom_headers": {
"X-My-Header": "my-value",
"X-Auth-Token": "secret-token"
}
}Changes
- warning
added the new
email_opt_out_createdenum value to theresponse property for the response status - warning
added the new
post_createdenum value to theresponse property for the response status - warning
added the new
post_deletedenum value to theresponse property for the response status - warning
added the new
post_updatedenum value to theresponse property for the response status - warning
added the new
post_validatedenum value to theresponse property for the response status - warning
added the new
review_createdenum value to theresponse property for the response status - warning
added the new
review_reply_createdenum value to theresponse property for the response status - warning
added the new
review_reply_deletedenum value to theresponse property for the response status - warning
added the new
review_reply_updatedenum value to theresponse property for the response status - warning
added the new
review_updatedenum value to theresponse property for the response status - warning
added the new
scheduled_post_pushedenum value to theresponse property for the response status
- warning