Integrations
Company API keys, protected workspace access and assistant connections.
Connect an app when it needs to work with company data. First choose the identity it should use, then confirm which company and resources it can reach. For supplier research that only uses published information, start with public discovery.
Availability
Check the API reference served by your deployment. Workspace access, OAuth consent, and support for your chosen client depend on the deployment. For MCP, list the tools after connecting with the identity your app will actually use.
Create a company API key
- Select the company and open Settings → Developer access → API keys.
- Create a key named for its consumer, such as “Sales reporting”. Select the service role, scopes, resource grants, and expiry appropriate to that job.
- Complete the one-time secret handoff and store the key in the consumer’s secret store. A company key has its own authority. It does not inherit its creator’s private conversations.
- Make the access read below. If the secret was lost, inspect issuance or the key list, revoke that key, and request a replacement. For a planned rotation, test the replacement before revoking the old key.
Make an authorized read
Set TRADEBIRD_API_BASE_URL to the API base including /api/v1. Load TRADEBIRD_API_KEY from secret storage.
curl --fail-with-body "$TRADEBIRD_API_BASE_URL/workspace/access" \
-H "Authorization: Bearer $TRADEBIRD_API_KEY"Check the company, actor, and effective scopes in the response. The credential selects the company. For a session metadata read, use GET /workspace/trade-sessions/{id} with the required conversation scope and current access. See workspace access for personal and delegated credentials.
For example, renaming a workspace requires an owner or administrator with the appropriate access. In the app, open Organization → General. An authorized MCP client can use rename_workspace. The new name appears in buyer conversations. The workspace slug and the public supplier profile keep their existing values.
Protected MCP
Use /api/v1/mcp/workspace on the API origin for private workspace tasks. Supply a supported credential through the client’s secure settings. Call tools/list after authorization. Each tool call checks current access, including changes made since discovery. MCP tool reference.
Connected apps and key requests
For an app acting for a person, review the company and requested scopes during consent. Permissions follow that person’s current access. Members can inspect and disconnect their own connections. An administrator who manages a company grant can see its metadata without gaining access to the person’s private conversations.
A key request made through an assistant can return a browser handoff. The designated recipient claims the secret there after signing in. When disconnecting an app, check the resulting status and whether provider revocation is still pending.
Errors and activity
Keep the request ID and operation name when diagnosing a failure. Check credential and origin for 401, scope and resource grant for 403, and resource identity or visibility for 404. On 409, inspect the current revision or the original request key. For 429, respect the returned retry interval. Error format and retry guidance.
Webhooks
Developer access > Webhooks manages signed business-event delivery. Create an HTTPS endpoint, select only the event types your receiver handles, and complete the signing-secret setup. A connection alone does not authorize resource events; attach only the conversations or work you are allowed to share. Use Send test from the endpoint details after signing is configured.
Each JSON payload contains id, type, schema_version, occurred_at,
tenant_id, resource, and typed data. Match the exact type string shown in
the event selector. Use id to recognize repeated deliveries; retries retain
the event identity. webhook.test is a synthetic test payload with
data.synthetic: true, not a business event.
Requests include webhook-id, webhook-timestamp, and webhook-signature.
Verify the signature over the raw request body before parsing or processing it.
Decode the base64 key after removing the whsec_ prefix, calculate HMAC-SHA256
over webhook-id.webhook-timestamp.raw-body, and compare the base64 signature
against a supplied v1, value using a constant-time comparison. During key
rotation, accept any currently valid signature. Apply a timestamp freshness
check and deduplicate accepted event IDs. Persist or enqueue accepted work before
returning a 2xx response; inspect delivery history for failures and explicit replay.
Workspace name
Administrators can rename the workspace in Organization → General. Review the name as a buyer would see it in a conversation. The workspace slug and the public supplier profile have separate identities. Check the deployment’s access contract and current authority before renaming through an integration.