ZahrexDevelopersSign in

API reference

Base URL https://api.zahrex.com/v1

MethodPathAuthScopeDescription
POST/oauth/tokenclient_credentialsExchange a client id and secret for a one-hour access token.
POST/eventstoken_or_keydepends on event typeSend one event, or {"events": [...]} as a batch; each event is {id, type, occurred_at?, data} and needs an id or an Idempotency-Key header. Answers per event in results[]: accepted, duplicate, or rejected with an error message. A rejected event does not fail the others.
GET/catalog/servicestoken_or_keycatalog:readList the organization's active services.
GET/catalog/productstoken_or_keycatalog:readList the organization's products.
GET/customerstoken_or_keycustomers:readLook up a customer by the phone or email query parameter.
GET/reference.jsonnoneThis document.