List all 1to1 chats for a given attendee
GEThttps://api.postpress.ai/v1/chat_attendees/{attendee_id}/chats
Return a paginated list of chats where a given attendee is involved.
Authorization
X-API-KEYstringrequired
API key from your postpress dashboard. Sent as a request header.
Path parameters
attendee_idstringrequired
The postpress id OR provider-native `provider_id` of the attendee. Can be a comma-separated list of multiple ids.
Query parameters
cursorstringoptional
Pagination cursor. Pass the `cursor` from the previous response to fetch the next page. Repeat until `cursor` is `null`. Minimum length 1.
beforestringoptional
Return chats created strictly before this UTC datetime. ISO 8601 `YYYY-MM-DDTHH:MM:SS.sssZ`.
afterstringoptional
Return chats created strictly after this UTC datetime. ISO 8601 `YYYY-MM-DDTHH:MM:SS.sssZ`.
limitintegeroptional
Maximum number of items to return. Between 1 and 250. Defaults to 100.
account_idstringoptional
Restrict results to one or more linked accounts. Comma-separated list of account ids.
Response 200 OK
objectstringChatListrequireditemsarray of objectsrequiredChats where the attendee participates.
items array
objectstringChatrequiredidstringlength ≥ 1requiredUnique chat id.
account_idstringlength ≥ 1requiredThe postpress account that owns the chat.
account_typestringrequiredWHATSAPPLINKEDINSLACKTWITTERMESSENGERINSTAGRAMTELEGRAMProvider behind the chat.
provider_idstringrequiredProvider-native chat identifier.
attendee_provider_idstringProvider-native id of the other attendee, for 1:1 chats.
namestringrequiredChat name or contact name. Nullable.
typenumberrequired012Chat type. 0 = 1:1, 1 = group, 2 = broadcast.
timestampstringrequiredLast activity timestamp. Nullable.
unread_countnumberrequiredNumber of unread messages in the chat.
archivednumberrequired01Archive flag. 0 = not archived, 1 = archived.
muted_untilnumber or stringrequiredMute state: -1 = muted indefinitely, ISO datetime = muted until that time, null = not muted.
read_onlynumberrequired012Read-only state. 0 = writable, 1 = read-only, 2 = locked.
disabledFeaturesarray of stringsFeatures disabled by the provider for this chat.
disabledFeatures array
<feature>stringreactionsreplysubjectstringChat subject (when applicable).
organization_idstringLinkedIn-specific id for organization mailboxes.
mailbox_idstringLinkedIn-specific id for organization mailboxes.
content_typestringinmailsponsoredlinkedin_offerLinkedIn-specific content classifier.
folderarray of stringsFolders the chat belongs to.
folder array
<folder>stringINBOXINBOX_LINKEDIN_CLASSICINBOX_LINKEDIN_RECRUITERINBOX_LINKEDIN_SALES_NAVIGATORINBOX_LINKEDIN_ORGANIZATIONProvider-known folders, plus arbitrary custom folder names.
pinnednumberrequired01Pin flag. 0 = not pinned, 1 = pinned.
cursorstringrequiredCursor for the next page, or `null` if this is the last page.
Example request
curl --request GET \
--url 'https://api.postpress.ai/api/v1/chat_attendees/att_01HXYZ4QK3WJ8FN3M6QH7TZ8GR/chats?limit=100' \
--header 'X-API-KEY: pp_live_...' \
--header 'accept: application/json'Example response
{
"object": "ChatList",
"items": [
{
"object": "Chat",
"id": "chat_01HXYZ4QK3WJ8FN3M6QH7TZ8GR",
"account_id": "acc_01HXYZ4QK3WJ8FN3M6QH7TZ8GR",
"account_type": "LINKEDIN",
"provider_id": "urn:li:msg_conversation:(...)",
"attendee_provider_id": "ACoAACr-1eYBl...",
"name": "Jordan Walke",
"type": 0,
"timestamp": "2026-05-16T18:24:11.000Z",
"unread_count": 0,
"archived": 0,
"muted_until": null,
"read_only": 0,
"pinned": 0,
"folder": ["INBOX", "INBOX_LINKEDIN_CLASSIC"]
}
],
"cursor": "eyJvIjoxMDB9"
}Errors
Every error response follows the same envelope:
titlestringrequired
Short error title.
detailstringoptional
Human-readable explanation.
instancestringoptional
Request identifier for support.
typestringrequired
Error type identifier.
statusnumberrequired
HTTP status code.
401 Unauthorized13 types
Credentials are missing, expired, or otherwise invalid.
errors/missing_credentials- Some credentials are necessary to perform the request.errors/multiple_sessions- LinkedIn limits multiple sessions on certain Recruiter accounts. Use the cookie connection method.errors/invalid_checkpoint_solution- The checkpoint resolution did not pass successfully. Retry.errors/invalid_proxy_credentials- The provided proxy credentials are invalid.errors/checkpoint_error- The checkpoint does not appear to be resolvable.errors/invalid_credentials- The provided credentials are invalid.errors/expired_credentials- Credentials have expired. Reconnect the account.errors/insufficient_privileges- This resource is out of your API-key scopes.errors/disconnected_account- The account is disconnected from the provider service.errors/disconnected_feature- The service you're trying to reach is disconnected.errors/invalid_credentials_but_valid_account_imap- IMAP/SMTP credentials are invalid but the account is otherwise valid.errors/expired_link- This link has expired. Generate a new one.errors/wrong_account- The provided credentials do not match the correct account.
403 Forbidden9 types
Authenticated but the account is restricted or the action is not allowed.
errors/account_restricted- The account has been restricted by the provider.errors/account_mismatch- This action cannot be done with your account.errors/insufficient_permissions- Valid authentication but insufficient permissions to perform the request.errors/session_mismatch- Token user id does not match client session id.errors/feature_not_subscribed- The requested feature has not been subscribed or authenticated properly.errors/subscription_required- A subscription is required to use this feature.errors/unknown_authentication_context- An additional step seems necessary to complete login.errors/action_required- An additional step is required.errors/resource_access_restricted- You don't have access to this resource.
404 Not Found2 types
The attendee id does not match any attendee visible to this API key.
errors/resource_not_found- The requested attendee was not found.errors/invalid_resource_identifier- The provided identifier is not a valid attendee id.
500 Internal Server Error3 types
Something went wrong on our side or with the upstream provider.
errors/unexpected_error- Something went wrong.errors/provider_error- The provider is experiencing operational problems. Retry later.errors/authentication_intent_error- The current authentication intent was killed after failure.
503 Service Unavailable5 types
postpress is temporarily unable to handle the request.
errors/no_client_session- No client session is currently running.errors/no_channel- No channel to client session.errors/no_handler- Handler missing for that request.errors/network_down- Network is down on the server side. Retry shortly.errors/service_unavailable- Service temporarily unavailable. Retry later.
504 Gateway Timeout1 types
The upstream provider did not respond in time.
errors/request_timeout- Request timed out. Retry, and contact support if it persists.
Updated May 2026