curl --request GET \
--url https://api.partoo.co/v2/webhooks \
--header 'x-APIKey: <api-key>'{
"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
}
]
}This endpoint returns the list of webhook configurations.
curl --request GET \
--url https://api.partoo.co/v2/webhooks \
--header 'x-APIKey: <api-key>'{
"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
}
]
}The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.
Organization identifier, only required for PROVIDER users.
Page number, Starts at 1. From 1 to 100 results per page (see per_page)
Number of items to return per page. Currently limited to 100.
1 <= x <= 100OK
Current page number
1
Last page number
10
Number of resources complying with filters
287
List of webhook configurations
Show child attributes
The identifier for the webhook configuration.
1
The URL receiving the webhook's data.
"https://example.com/webhook"
The webhook event type.
business_created, business_updated, business_deleted, message_updated, message_created, lead_received "business_created"
An ISO 8601 date-time string representing the webhook creation date.
"2024-11-27T16:10:44.929678Z"
An ISO 8601 date-time string representing the webhook last update date.
"2024-11-27T16:10:44.929678Z"
The organization identifier for the webhook configuration.
1
Was this page helpful?