Skip to content
Sign in Create account

Fire a synthetic `webhook.test` event at the endpoint

POST /api/v1/webhooks/endpoints/{id}/test

Dispatches a synthetic webhook.test event to the configured endpoint. Requires webhooks.manage and the write ability. The delivery is visible in the organization's delivery list; a missing or out-of-organization endpoint returns 404.

Authenticate with a portal session token.

Parameters

  • id integer path required

Responses

200 Test event dispatched.

application/json object

  • message string required
  • ok boolean required
    Value: true

Generated sample

{
  "message": "string",
  "ok": true
}
401 Missing or invalid bearer token.

application/json object

Any keys are accepted.

403 The authenticated user has not verified their email or accepted the Terms of Service and Privacy Policy, or lacks the required write ability or webhooks.manage permission.

application/json object

Any keys are accepted.

404 Endpoint was not found in this organization.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

409 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 The request was rate limited. API-generated responses are JSON;

Response headers

  • Retry-After string header

    Seconds to wait before retrying, when provided.

  • X-RateLimit-Scope string header

    Identifies the scope of the request limit, when provided.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string