Skip to main content
GET
/
webhooks
Get a 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
    }
  ]
}

Authorizations

x-APIKey
string
header
required

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.

Query Parameters

org_id
integer

Organization identifier, only required for PROVIDER users.

page
integer
default:1

Page number, Starts at 1. From 1 to 100 results per page (see per_page)

per_page
integer
default:30

Number of items to return per page. Currently limited to 100.

Required range: 1 <= x <= 100

Response

OK

page
integer

Current page number

Example:

1

max_page
integer

Last page number

Example:

10

count
integer

Number of resources complying with filters

Example:

287

items
object[]

List of webhook configurations