Webhook addresses
Add a webhook address
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.
Request
Headers
-
Authorizationstring requiredBearer followed by the API key.
Example:
Bearer qayd_… -
Accept-Languagestring optionalen for English error messages. Arabic by default.
Example:
en -
Content-Typestring requiredapplication/json with every request that has a body.
Example:
application/json -
Idempotency-Keystring optionalA unique value so a request sent again creates nothing twice.
Example:
order-10045
Request body application/json
-
urlstring requiredAn https address on port 443, out on the internet; up to 500 characters.
Example:
https://example.com/webhooks/qayd -
descriptionstring optionalDescription, up to 500 characters.
Example:
المتجر -
eventsarray[] requiredThe events it is told of: see the webhooks guide.
Responses
- 201 Created
- 403 Not allowed
- Errors · 401 · 403 · 429