Get a list of webhook configurations
Changed onThis endpoint returns the list of webhook configurations.
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.
Query parameters
Organization identifier, only required for PROVIDER users.
Page number. Starts at 1. Any value lower than 1 will be considered as 1. For the number of items per page, see the per_page query parameter.
Number of items to return per page. Currently limited to 100.
Response
OK
Example response
{
"page": 1,
"max_page": 10,
"count": 287,
"items": [
{
"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 the///response property for the response status - warning
added the new
post_createdenum value to the///response property for the response status - warning
added the new
post_deletedenum value to the///response property for the response status - warning
added the new
post_updatedenum value to the///response property for the response status - warning
added the new
post_validatedenum value to the///response property for the response status - warning
added the new
review_createdenum value to the///response property for the response status - warning
added the new
review_reply_createdenum value to the///response property for the response status - warning
added the new
review_reply_deletedenum value to the///response property for the response status - warning
added the new
review_reply_updatedenum value to the///response property for the response status - warning
added the new
review_updatedenum value to the///response property for the response status - warning
added the new
scheduled_post_pushedenum value to the///response property for the response status
- warning