TryzenAPI
Inbox

A participant's profile photo, as the inbox sync stored it

GET
/v1/inbox/pictures/{orgId}/{workspaceId}/{file}

Access: a member of the workspace in the {workspaceId} path parameter or an API key (or an org-wide key naming the workspace) with view on inbox.

The image bytes (image/jpeg, image/png, image/webp or image/avif), privately cacheable for a day. Use the pictureUrl a conversation's participant carries; it only ever names this workspace's photos. 404 when the photo isn't stored (show initials).

Authorization

apiKey
headerx-api-key<token>

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

Path Parameters

orgId*string
Match^[0-9a-f]{24}$
workspaceId*string
Match^[0-9a-f]{24}$
file*string
Match^[0-9a-f]{64}\.(jpg|png|webp|avif)$

Response Body

Default Response

application/json
  1. response
ok*boolean
error*
Example Request
curl -X GET 'https://api.tryzen.co/v1/inbox/pictures/string/string/string'
Example Response4XX
{  "ok": false,  "error": {    "code": "string",    "message": "string",    "problems": [      {        "code": "string",        "parameter": "string",        "message": "string"      }    ]  }}