Change the workspace's sending 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.
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
application/json- body
whenNoteCreditsUsedUp?stringWhat 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).
"wait""send_without_note"Default Response
application/json- response
settings*curl -X PATCH 'https://api.tryzen.co/v1/workspace/settings' \ -H 'Content-Type: application/json' \ -d '{}'{ "settings": { "whenNoteCreditsUsedUp": "wait" }}The workspace's sending settings GET
**Access:** an API key (or an org-wide key naming the workspace) with view on `senders`. `whenNoteCreditsUsedUp`: what a campaign invite with a note does once the account's monthly note credits are used up. `wait` (the default) holds the account's invites until the credits return (expected on the 1st of next month in the sender's time zone; ). `send_without_note` sends them without their note, on the browser path, for senders with a browser host; the others wait. Invites sent through `POST /v1/actions` are not changed: they fail `note_credits_used_up`.
Campaigns in this workspace, newest change first GET
**Access:** an API key (or an org-wide key naming the workspace) with view on `campaigns`. Filters: `search` (part of the name, case-insensitive), `status` (repeat the key for several), `senderId` (campaigns this sender is in), `leadId` (campaigns this lead is enrolled in). Keyset paging: up to `limit` (≤ 100, default 100) rows; pass `nextCursor` back as `cursor` for the next page (null on the last). A malformed cursor is 400 `invalid_cursor`.