TryzenAPI
Inbox

A page of the thread, newest first, plus queued replies on the first page

GET
/v1/inbox/conversations/{conversationId}/messages

Access: an API key (or an org-wide key naming the workspace) with view on inbox.

Each message names its author from stored data: the participant for an inbound message, the account owner for an outbound one (campaign, Unibox reply, API action or typed natively on LinkedIn; origin says which), null when the stored thread doesn't name them. Older history: POST …/history.

Authorization

apiKey
headerx-api-key<token>

Workspace API key (nrk_…), shown once when created

Path Parameters

conversationId*string
Match^[0-9a-f]{24}$

Query Parameters

cursor?string
Length1 <= length <= 200
limit?integer
Range1 <= value <= 200
Default30

Response Body

Default Response

application/json
  1. response
items*array<>
pending*array<>
campaigns*array<>
nextCursor*|null
Example Request
curl -X GET 'https://api.tryzen.co/v1/inbox/conversations/string/messages'
Example Response
{  "items": [    {      "id": "string",      "conversationId": "string",      "messageUrn": "string",      "direction": "inbound",      "authorUrn": "string",      "body": "string",      "subject": "string",      "attachments": [        {          "kind": "image",          "name": "string",          "mediaType": "string",          "sizeBytes": -9007199254740991        }      ],      "voice": {        "durationSec": 0,        "transcript": "string"      },      "sentAt": "2019-08-24T14:15:22Z",      "origin": {        "type": "campaign_step",        "campaignId": "string",        "actionId": "string",        "nodeId": "string"      },      "editedAt": "2019-08-24T14:15:22Z",      "deletedAt": "2019-08-24T14:15:22Z",      "author": {        "name": "string",        "profileUrl": "string",        "pictureUrl": "string"      }    }  ],  "pending": [    {      "id": "string",      "conversationId": "string",      "senderId": "string",      "clientMessageId": "6751c24a-b4eb-49b8-a2cb-e2427e57e61b",      "kind": "message",      "body": "string",      "status": "pending",      "requestedAt": "2019-08-24T14:15:22Z",      "requestedByUserId": "string",      "failure": {        "code": "string",        "message": "string"      },      "wait": {        "reason": "sending",        "until": "2019-08-24T14:15:22Z",        "expiresAt": "2019-08-24T14:15:22Z"      }    }  ],  "campaigns": [    {      "id": "string",      "name": "string"    }  ],  "nextCursor": "string"}