API reference

Every endpoint, its auth and scope.

Base URL

https://api.zahrex.com/v1

Endpoints

POST/oauth/token

Exchange a client id and secret for a one-hour access token.

Auth
client_credentials
POST/events

Send 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.

Auth
token_or_key
Scope
depends on event type
GET/catalog/services

List the organization's active services.

Auth
token_or_key
Scope
catalog:read
GET/catalog/products

List the organization's products.

Auth
token_or_key
Scope
catalog:read
GET/customers

Look up a customer by the phone or email query parameter.

Auth
token_or_key
Scope
customers:read
GET/reference.json

This document.

Auth
none

Lead stages

The stages a lead can be in, for stage fields and the lead.stage_changed webhook.

newsigned_uptrialpayingchurnedlost
Smarter sales automation,
powered by AI.

Find products, build stores, launch campaigns, confirm orders, ship and get paid, from one connected platform.

Stay in touch!