Read one conversation and reply window with GET /api/v1/inbox/conversations/{conversationId}. Requires an API key with the read scope or a signed-in workspace member.
Request
| Parameter | In | Type | Required |
|---|---|---|---|
conversationId |
path | UUID | Yes |
workspaceId |
query | UUID | Yes |
Response
- HTTP 200:
InboxConversationwithid,workspaceId,accountId,provider,participant,folder,status,unreadCount,lastMessageAt,lastInboundAt,lastOutboundAt,lastMessagePreview,providerUrl,lastReadAt,archivedAt,replyWindow,freshness,createdAt.provider:bluesky,facebook,instagram,linkedin,pinterest,reddit,snapchat,tiktok,threads,x,youtube,google_business,meta_ads,google_ads,reddit_ads,pinterest_ads,tiktok_ads,linkedin_ads,snapchat_ads,amazon_ads,openai_adsfolder:inbox,message_request,spam,otherstatus:active,archived
The OpenAPI document has each field’s type.
Examples
const conversation = await workspace.inbox.conversation(conversationId);conversation = workspace.inbox.get_conversation(conversation_id)curl "https://pubnio.com/api/v1/inbox/conversations/$CONVERSATION_ID?workspaceId=$WORKSPACE_ID" \
-H "Authorization: Bearer $PUBNIO_API_KEY"pnio inbox conversations get "$CONVERSATION_ID"async () => {
const conversationId = "<conversationId>";
const response = await codemode.request({
method: "GET",
path: `/api/v1/inbox/conversations/${conversationId}`,
query: { workspaceId: codemode.workspaceId },
});
return response.data;
};Errors
It declares no problem of its own.
It declares the problems every Inbox operation and most operations declare.
Idempotency
None needed: a read is safe to retry.
Limits
- Field lengths and ranges are in the OpenAPI document.