TryzenAPI
Workspaces

Change the workspace's sending settings

PATCH
/v1/workspace/settings

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

Only the fields you send change. The engine reads the setting at each refused or prepared invite, so it applies from the next one. An account that is already waiting for its credits keeps waiting until they return.

Authorization

apiKey
headerx-api-key<token>

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

Request Body

application/json
  1. body
whenNoteCreditsUsedUp?string

What a campaign invite with a note does once the account's note credits are used up: wait (default) holds the account's invites until the credits return; send_without_note sends them without their note (senders with a browser host; the others wait).

Value in"wait""send_without_note"

Response Body

Default Response

application/json
  1. response
settings*
Example Request
curl -X PATCH 'https://api.tryzen.co/v1/workspace/settings' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "settings": {    "whenNoteCreditsUsedUp": "wait"  }}