> For the complete documentation index, see [llms.txt](https://docs.cekat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cekat.ai/api-documentation/chat/connected-platforms/list-inboxes-legacy.md).

# List inboxes (legacy)

Older inbox list without pagination, kept for existing integrations. It includes deleted inboxes unless `include_deleted=false`. New integrations should use `GET /api/inboxes`.

```json
{"openapi":"3.0.3","info":{"title":"Cekat Open API","version":"1.0.0"},"tags":[{"name":"Connected Platforms","description":"Each connected channel is an inbox. Use an inbox's `id` as `inbox_id` in other endpoints, for example to create or send WhatsApp templates."}],"servers":[{"url":"https://api.cekat.ai","description":"Production"}],"security":[{"CekatApiKey":[]}],"components":{"securitySchemes":{"CekatApiKey":{"type":"apiKey","in":"header","name":"api_key","description":"Your business's Cekat API key, from **Settings → Developers & API** in the Cekat dashboard (https://chat.cekat.ai/developers?section=apikeys). Available on the Business and Enterprise plans."}},"schemas":{"LegacyInbox":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time"},"business_id":{"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"phone_number":{"type":"string","nullable":true},"status":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string","nullable":true},"ai_agent_id":{"type":"string","format":"uuid","nullable":true},"ai_agent":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"plugin_type":{"type":"string","nullable":true}}}}},"Error":{"type":"object","description":"Error body returned by the `/templates` endpoints.","properties":{"success":{"type":"boolean"},"status_code":{"type":"integer"},"error":{"type":"object","properties":{"message":{"type":"string"}}}}},"RateLimitError":{"type":"object","properties":{"message":{"type":"string"}}}},"responses":{"Unauthorized":{"description":"The API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"TooManyRequests":{"description":"Rate limit exceeded. Wait and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}},"paths":{"/inboxes":{"get":{"tags":["Connected Platforms"],"operationId":"ListInboxesLegacy","summary":"List inboxes (legacy)","deprecated":true,"description":"Older inbox list without pagination, kept for existing integrations. It includes deleted inboxes unless `include_deleted=false`. New integrations should use `GET /api/inboxes`.","parameters":[{"name":"include_deleted","in":"query","required":false,"schema":{"type":"string","enum":["true","false"],"default":"true"}}],"responses":{"200":{"description":"All inboxes.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"status_code":{"type":"integer"},"data":{"type":"array","items":{"$ref":"#/components/schemas/LegacyInbox"}}}}}}},"400":{"description":"`include_deleted` is not `true` or `false`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}}}}
```
