API reference
Brands
Brand and webhook management
List brands
Authorization
AuthorizationRequiredBearer <token>API token. Send it as Authorization: Bearer <API_TOKEN>.
In: header
Brand list
Create brand
Authorization
AuthorizationRequiredBearer <token>API token. Send it as Authorization: Bearer <API_TOKEN>.
In: header
Request Body
application/jsonRequirednameRequiredstringslugRequiredstringPattern:
"^[a-z0-9-]+$"logoUrlstringFormat:
"uri"Brand created
List webhooks for a brand
Authorization
AuthorizationRequiredBearer <token>API token. Send it as Authorization: Bearer <API_TOKEN>.
In: header
Path Parameters
brandIdRequiredintegerWebhook list
Create webhook
Create a new webhook for a brand. The signing secret (whsec_*) is returned only once. See the WebhookDelivery schema for the exact payload shape and signature verification instructions.
Authorization
AuthorizationRequiredBearer <token>API token. Send it as Authorization: Bearer <API_TOKEN>.
In: header
Request Body
application/jsonRequiredurlRequiredstringFormat:
"uri"eventsRequiredarray<string>descriptionstringPath Parameters
brandIdRequiredintegerWebhook created (includes signing secret)
Update webhook
Authorization
AuthorizationRequiredBearer <token>API token. Send it as Authorization: Bearer <API_TOKEN>.
In: header
Request Body
application/jsonRequiredurlstringFormat:
"uri"eventsarray<string>activebooleandescriptionstringPath Parameters
brandIdRequiredintegerwebhookIdRequiredintegerWebhook updated
Delete webhook
Authorization
AuthorizationRequiredBearer <token>API token. Send it as Authorization: Bearer <API_TOKEN>.
In: header
Path Parameters
brandIdRequiredintegerwebhookIdRequiredintegerWebhook deleted