Webhook addresses
Update a webhook address
https://your-business.qaydtech.com/api/v1/webhooks/{id}
Changes only what is sent. is_active: true resumes an address paused after failing, its failures forgotten. The address and its events are changed only by a user who may read every event it is told of.
Request
Path parameters
-
idinteger requiredThe record’s number.
Example:
42
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 optionalAn https address on port 443, out on the internet; up to 500 characters.
-
descriptionstring optionalDescription, up to 500 characters.
-
eventsarray[] optionalThe events it is told of: see the webhooks guide.
-
is_activeboolean optionalfalse to stop it (a customer, an item, a webhook address); true to resume it.
Example:
true
Responses
- 200 OK
- 403 Not allowed
- Errors · 401 · 403 · 429