Show a typing indicator
Shows the typing bubble to the other participant of a Facebook Messenger thread. Meta clears it on its own after 20 seconds or when your next message arrives, so call it again while a reply is still being written. Facebook Pages only: an Instagram conversation answers 400 unsupported. Once the conversation resolves the answer is always a 200; success is false when Meta declined the indicator, and there is nothing to retry. Needs the Page's messaging scope. Limited to 600 per hour per user. Requires a read-write API key.
Authorization
bearerAuth PostZen API key.
In: header
Path Parameters
The platform's own conversation (thread) id, as returned in id by the list and search endpoints — not a PostZen document id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/inbox/conversations/string/typing" \ -H "Content-Type: application/json" \ -d '{ "accountId": "k57a1b2c3d4e5f6g7h8i9j0k1l" }'{ "success": true}{ "error": "Typing indicators are supported on Facebook only.", "code": "unsupported", "platform": "instagram"}{ "error": "Unauthorized"}{ "error": "Reconnect the account to grant PostZen access to its messages.", "code": "platformCapabilityMissing", "platform": "instagram"}{ "error": "That conversation could not be found.", "code": "conversationNotFound", "platform": "facebook"}{ "error": "This connection needs to be reauthorized before its messages can be read.", "code": "connectionDead"}{ "error": "rate_limited", "retryAfter": 30}{ "error": "Failed to create post"}Mark a conversation read POST
Moves the thread’s local read watermark to its newest synced message and returns how many incoming messages crossed from unread to read. On a Facebook Page thread PostZen also sends Messenger a seen receipt on a best-effort basis; whether it lands never changes the response. On Instagram nothing is sent to the platform. Reading messages never marks a thread read implicitly. Requires a read-write API key.
List messages in a conversation GET
Returns the messages PostZen holds for one thread, oldest first by default, refreshing them from the platform when the stored copy is stale. Strictly read-only: it never marks the thread read — use `POST /v1/inbox/conversations/{conversationId}/read` for that. Meta returns full content only for roughly the twenty newest messages in a thread, on Instagram and Messenger alike, so older ones may carry an id and timestamp without text or attachments. Read-only and read-write API keys are accepted.