Inbox
Conversations, newest activity first
GET
Access: an API key (or an org-wide key naming the workspace) with view on inbox.
Keyset-paginated: pass nextCursor back as cursor. Conversations of a private mailbox you didn't connect come back locked, without their content, and never match the unread, tag or search filters. leadId and profileUrl (a LinkedIn /in/ URL; 422 target_invalid otherwise) find the threads with one person from stored data (combinable with senderId); each row names its mailbox's owner.
apiKeyheader
x-api-key<token>Workspace API key (nrk_…), shown once when created
senderId?stringMatch
^[0-9a-f]{24}$campaignId?stringMatch
^[0-9a-f]{24}$tagId?stringMatch
^[0-9a-f]{24}$autoTag?stringValue in
"interested""not_interested""generic"tab?stringValue in
"all""unread""favorites"unread?stringValue in
"true""false"archived?stringValue in
"true""false"lastMessageFrom?stringValue in
"lead""sender"channel?stringValue in
"linkedin""salesnav""recruiter"search?stringLength
1 <= length <= 100leadId?stringMatch
^[0-9a-f]{24}$profileUrl?stringLength
1 <= length <= 500cursor?stringLength
1 <= length <= 200limit?integerRange
1 <= value <= 100Default
30Default Response
application/json- response
items*array<>nextCursor*|nullcurl -X GET 'https://api.tryzen.co/v1/inbox/conversations'Example Response
{ "items": [ { "id": "string", "senderId": "string", "leadId": "string", "conversationUrn": "string", "kind": "message", "channel": "linkedin", "subject": "string", "participants": [ { "memberUrn": "string", "name": "string", "publicId": "string", "headline": "string", "pictureUrl": "string" } ], "organization": { "urn": "string", "name": "string" }, "lastMessage": { "text": "string", "at": "2019-08-24T14:15:22Z", "direction": "inbound", "contentKind": "text" }, "lastMessageAt": "2019-08-24T14:15:22Z", "unread": true, "seenAt": "2019-08-24T14:15:22Z", "seenByUserId": "string", "archived": true, "favorite": true, "tagIds": [ "string" ], "autoTag": "interested", "campaignIds": [ "string" ], "firstReplyAt": "2019-08-24T14:15:22Z", "startedBy": "product", "locked": true, "lead": { "id": "string", "fullName": "string", "headline": "string" }, "owner": { "name": "string", "profileUrl": "string", "pictureUrl": "string" } } ], "nextCursor": "string"}