Skip to main content
POST
/
webhooks
/
tryout
Send test webhook payloads
curl --request POST \
  --url https://api.partoo.co/v2/webhooks/tryout \
  --header 'Content-Type: application/json' \
  --header 'x-APIKey: <api-key>' \
  --data '{
  "items": [
    {
      "url": "https://example.com/webhook",
      "event_type": "business_created"
    }
  ]
}'
{
  "items": [
    {
      "payload": {},
      "event_type": "business_created",
      "url": "https://example.com/webhook",
      "status": "success"
    }
  ]
}

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.

Body

application/json
items
object[]
required

The list of webhook configurations to create.

Response

OK

items
object[]

Result of the tests.