TryzenAPI
Inbox

Add or remove tags on up to 100 conversations

POST
/v1/inbox/conversations/bulk-tags

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

Batch: through an API key, conversationIds holds at most 100 items.

addTagIds and/or removeTagIds (at most 20 each). Tryzen state only. Ids that aren't in this workspace come back in notFound, private inboxes this user didn't connect in locked; neither fails the call. 422 tag_not_found for an added tag that isn't in this workspace (nothing is changed).

Authorization

apiKey
headerx-api-key<token>

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

Request Body

application/json
  1. body
conversationIds*array<>
Items1 <= items <= 100
addTagIds?array<>
Itemsitems <= 20
Default[]
removeTagIds?array<>
Itemsitems <= 20
Default[]

Response Body

Default Response

application/json
  1. response
updated*integer
Range0 <= value <= 9007199254740991
notFound*array<>
locked*array<>
Example Request
curl -X POST 'https://api.tryzen.co/v1/inbox/conversations/bulk-tags' \  -H 'Content-Type: application/json' \  -d '{  "conversationIds": [    "string"  ]}'
Example Response
{  "updated": 0,  "notFound": [    "string"  ],  "locked": [    "string"  ]}