Skip to content
QaydTech Beta launch

Webhook addresses

Add a webhook address

post https://your-business.qaydtech.com/api/v1/webhooks

An https address on port 443 out on the internet, and the events it is told of — only those the user the key acts as may read. The answer holds its signing secret, shown this once: keep it. Up to 20 addresses. A test key never adds one.

Permission: webhooks.write Supports Idempotency-Key to prevent duplicates.

Request

Headers

  • Authorization string required

    Bearer followed by the API key.

    Example: Bearer qayd_…

  • Accept-Language string optional

    en for English error messages. Arabic by default.

    Example: en

  • Content-Type string required

    application/json with every request that has a body.

    Example: application/json

  • Idempotency-Key string optional

    A unique value so a request sent again creates nothing twice.

    Example: order-10045

Request body application/json

  • url string required

    An https address on port 443, out on the internet; up to 500 characters.

    Example: https://example.com/webhooks/qayd

  • description string optional

    Description, up to 500 characters.

    Example: المتجر

  • events array[] required

    The events it is told of: see the webhooks guide.

Responses

  • 201 Created
  • 403 Not allowed
  • Errors · 401 · 403 · 429