Get started with workspace access
Choose a credential, confirm the company and scopes, and make your first workspace API request.
Your first workspace request should tell you who your app is acting for. The steps below end with a company name, an actor, and effective scopes you can check before making a change. For a public supplier search, use the marketplace API.
1. Check your deployment
Use the API server listed in the reference for your deployment, including
/api/v1. Workspace access must be enabled for that deployment. Check that its
reference includes Get workspace access
before setting up a credential.
2. Choose who should act
| Credential | Use it when |
|---|---|
| Company API key | A service acts as the company with explicitly granted scopes. |
| Personal API key | Your script acts on your behalf within your current access. |
| Delegated OAuth token | An integration acts on behalf of the person who completes consent. |
For a company key, an administrator selects the company and opens Developer access → API keys. For a personal key, select the workspace and open Personal API keys from your account menu. For OAuth, complete consent from the integration you want to connect. See Integrations.
Request only the scopes the operation needs. A company key has its own identity. Actions that require a person's approval or consent still require that person to complete the handoff.
3. Confirm workspace access
Set TRADEBIRD_API_BASE_URL to the API base for your deployment and load
TRADEBIRD_TOKEN from your secret store.
curl --fail-with-body "$TRADEBIRD_API_BASE_URL/workspace/access" \
-H "Authorization: Bearer $TRADEBIRD_TOKEN"Check company_name and tenant_id, then confirm actor_kind and scopes.
The credential selects the workspace. Send the bearer token without
X-Tenant-Id or X-User-Id.
If you receive 401, check the token and API origin. If you receive 403,
check the credential's scopes and the actor's current access. A scope permits
an operation to be requested. The operation also checks access to the specific
resource.
Choose your first workflow
- Ask Tradebird to start a private assistant conversation with an authorized personal credential.
- List agents to find an agent you can use, then start a run.
- List supported webhook events to plan a company integration before registering a receiver.
For a write with an idempotency key, save the key and exact input together. Use that pair after a lost response according to the operation's retry instructions. See Errors and recovery.