Openapi
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidthreadId*stringuuidlimit*integer1 <= value <= 10050offset*integer0 <= value <= 90071992547409910Returns messages, delivery state, and pagination.
application/jsondeliveries*array<>draftSuggestion*|nullmessages*array<>pagination*senderProfiles*streamStatus*stringcurl -X GET 'https://app.localhost/api/v1/organizations/123e4567-e89b-12d3-a456-426614174000/inbox/threads/123e4567-e89b-12d3-a456-426614174000/messages?limit=1&offset=1'{ "deliveries": [ { "canceledAt": null, "chatMessageId": "c894268b-b7a1-4784-8aae-60cf3c041987", "connectionId": "84b500d7-71c8-4b1f-adf4-f1eb0000973d", "createdAt": "string", "direction": "inbound", "errorMessage": "string", "externalMessageId": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "idempotencyKey": "string", "metadata": { "property1": "string", "property2": "string" }, "nextAttemptAt": null, "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "retryCount": 0, "status": "queued", "updatedAt": "string" } ], "draftSuggestion": { "channelThreadId": "d2696c21-8a60-4132-92a1-27e95497a2b2", "confidence": 0, "createdAt": "string", "decidedAt": "string", "decidedBy": "3a741861-b09d-4f52-b451-be998c2bf2d1", "decision": "send", "editedBy": "3d4fb7e7-4dad-4746-b4df-18c02baaa977", "escalationReason": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "model": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "sourceMessageId": "d8d89b28-2149-44de-ac51-ce0b86865800", "status": "pending", "text": "string", "updatedAt": "string" }, "messages": [ { "clientMessageId": null, "createdAt": "string", "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "metadata": { "property1": "string", "property2": "string" }, "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "parts": [ { "actionId": "string", "actionVersion": "string", "approvalConfirmed": true, "contextFingerprint": "stringst", "contextKinds": [ "page" ], "intakeAnswers": [ { "fieldId": "string", "value": "string" } ], "route": "string", "safeReferences": [ { "id": "string", "kind": "string", "label": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "path": "string" } ], "type": "action" } ], "role": "system", "status": "complete", "threadId": "51f72284-0555-48fe-a20a-4369ee94dc3e", "viewerFeedback": { "createdAt": "string", "messageId": "8540d774-4863-4d2b-b788-4ecb19412e85", "modelId": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "rating": "positive", "runId": "78c33d18-170c-44d3-a227-b3194f134f73", "updatedAt": "string", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b" } } ], "pagination": { "hasMore": true, "limit": 1, "offset": 0, "total": 0 }, "senderProfiles": { "property1": { "avatarUrl": "http://example.com", "displayName": "string", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b" }, "property2": { "avatarUrl": "http://example.com", "displayName": "string", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b" } }, "streamStatus": "string"}