One key for many workspaces
Agencies and platforms run a workspace per end customer with one org-wide key, and get every workspace's events at one endpoint.
If you serve many customers, give each its own workspace (its own senders, leads, campaigns, inbox and limits) and drive them all with one org-wide key. One org webhook then receives an event type from every workspace; each delivery says which workspace it is about.
Workspace keys and workspace webhooks keep working as before.
Create an org-wide key
An org Admin creates it in Settings → Org API keys (people only: a key never creates keys).
It is shown once. Its scopes are the workspace areas, applied in every workspace of the
org, plus workspaces:
workspaces | The key may |
|---|---|
none | work inside workspaces only |
view | also list the org's workspaces |
manage | also create and rename them (never delete one: that stays a person's) |
The key acts as the Admin who made it. If that person stops being an active Admin of the org,
the key answers 401 api_key_inactive. 300 requests per minute per key, across all workspaces.
A workspace per customer
curl -s -X POST "$TRYZEN_API/v1/orgs/$ORG_ID/workspaces" \
-H "x-api-key: $TRYZEN_ORG_KEY" -H "content-type: application/json" \
-d '{ "name": "Customer 7", "seatLimit": null }'Store the answer's workspace.id with your customer. Then name it in x-workspace-id on every
workspace call:
curl -s "$TRYZEN_API/v1/senders" \
-H "x-api-key: $TRYZEN_ORG_KEY" -H "x-workspace-id: $WORKSPACE_ID"- No header:
400 workspace_required. - Another org's workspace, a deleted one or a malformed id:
404 workspace_not_found.
Org webhooks
One webhook per event type, like a workspace webhook, for every workspace of the org (or only the
ones in workspaceIds; empty includes workspaces made later). It needs an org Admin, or an
org-wide key with integrations: manage.
curl -s -X POST "$TRYZEN_API/v1/orgs/$ORG_ID/webhooks" \
-H "x-api-key: $TRYZEN_ORG_KEY" -H "content-type: application/json" \
-d '{
"name": "Replies from every customer",
"url": "https://hooks.example.com/tryzen",
"event": "every_message_reply_received"
}'The secret is in this answer only. Deliveries are the same signed payload as
a workspace webhook's: route each one on its workspaceId. Signing, retries, dead letters and
redelivery work the same way.
| Call | What it does |
|---|---|
GET /v1/orgs/{orgId}/webhooks | List them |
PATCH /v1/orgs/{orgId}/webhooks/{webhookId} | Change name, URL, event, workspaceIds, headers, on/off |
DELETE /v1/orgs/{orgId}/webhooks/{webhookId} | Delete it and its delivery log |
POST /v1/orgs/{orgId}/webhooks/{webhookId}/test | One signed webhook_test about workspaceId (or the org's oldest workspace) |
GET /v1/orgs/{orgId}/webhooks/deliveries?webhookId= | Deliveries across workspaces, each with its workspaceId |
POST /v1/orgs/{orgId}/webhooks/deliveries/{deliveryId}/redeliver | Send a finished delivery again |
Rotating an org webhook's secret is people only (an org Admin in the app), like a workspace webhook's. A workspace that also has its own webhook for the same event gets both deliveries, each signed with its own secret.
Lead catcher
A private URL that signal tools (RB2B, Trigify, Common Room, Clay or anything with a webhook) post people to. Each person joins a list and, if you pick one, a campaign.
AI assistants and the CLI
Connect Claude, ChatGPT, Cursor or any MCP client to Tryzen's hosted MCP server, and run the same jobs from your terminal with the tryzen CLI.