Chat
Get the conversation
GET
tenantKeyheader
X-Tenant-Key<token>The public store key (pk_live_…). Required on every call.
X-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/chat/conversation' \ -H 'X-Tenant-Key: pk_live_…' \ -H 'X-Tenant-Secret: your-server-secret'Example Response
{ "data": [ { "id": 0, "direction": "string", "body": "string", "media": [ { "property1": null, "property2": null } ], "delivered_at": "string", "read_at": "string", "created_at": "string" } ], "links": { "first": "string", "last": "string", "prev": "string", "next": "string" }, "meta": { "current_page": 1, "from": 1, "last_page": 1, "links": [ { "url": "string", "label": "string", "active": true } ], "path": "string", "per_page": 0, "to": 1, "total": 0, "conversation": { "id": 0, "channel": "string", "status": "string", "last_message_at": "string", "created_at": "string" } }}