v1

latestOpenAPI 3.1.0© Copyright Partoo2026-07-26163503484.0 KB
Webhooks

Send test webhook payloads

This endpoint let you try webhook configurations by sending test payloads. This currently supports only one webhook configuration per request, entries after the first one will be ignored. Payloads are created by the latest data of the specified event type, or if not available a default payload will be sent. The request is similar to a regular webhook, but also contains an additional X-Partoo-Webhook-Tryout header.

post/webhooks/tryout

Query parameters

org_idinteger

Organization identifier, only required for PROVIDER users.

Request body

Example request

{
  "items": [
    {
      "url": "https://example.com/webhook",
      "event_type": "business_created",
      "custom_headers": {
        "X-My-Header": "my-value",
        "X-Auth-Token": "secret-token"
      }
    }
  ]
}

Response

OK

Example response

{
  "items": [
    {
      "event_type": "business_created",
      "url": "https://example.com/webhook",
      "status": "success"
    }
  ]
}