CRM
List companies
GET
tenantKeybearerAuthheader
X-Tenant-Key<token>The public store key (pk_live_…). Required on every call.
header
AuthorizationBearer <token>A customer token from POST /v1/auth/login, or a merchant API key, on routes that need one.
filter[updated_since]?stringFormat
date-timefilter[due_before]?stringFormat
date-timefilter[due_after]?stringFormat
date-timefilter[custom][]?array<string>sort?stringLength
length <= 40perPage?integerRange
1 <= value <= 100cursor?stringLength
length <= 1024X-Client-IP?stringOptional. IP address of the shopper (one IPv4/IPv6, no port, no list). Honoured only together with a valid X-Tenant-Secret; ignored otherwise. Used for rate limits and recorded with form submissions.
X-Tenant-Secret?stringOptional here. Server secret of the store: server-to-server only, never from a browser. Enables X-Client-IP.
A page of results, with links and meta.
application/json- response
data*array<>links*meta*curl -X GET 'https://api.elaraone.app/api/v1/merchant/crm/companies' \ -H 'X-Tenant-Key: pk_live_…' \ -H 'X-Tenant-Secret: your-server-secret'Example Response
{ "data": [ { "id": 0, "name": "string", "domains": [ "string" ], "phone": "string", "address": { "line_one": "string", "line_two": "string", "city": "string", "region": "string", "postcode": "string", "country": "string" }, "industry": "string", "size": "string", "lifecycle_stage": "string", "owner_id": 0, "is_sole_trader": true, "custom_fields": "string", "created_at": "string", "updated_at": "string" } ], "links": { "first": "string", "last": "string", "prev": "string", "next": "string" }, "meta": { "path": "string", "per_page": 0, "next_cursor": "string", "prev_cursor": "string" }}