API Keys & Access
How should I store and use Tuco API keys?
How should I store and use Tuco API keys?
Best practices:
- Store API keys only on your backend (server-side).
- Use secure secret management (e.g. environment variables, secret managers).
- Never embed keys in:
- Front-end JavaScript.
- Mobile/desktop apps distributed to end-users.
- Public repositories or logs.
- Prefer a dedicated workspace-scoped API key instead of sharing one key across many systems.
Can I use the same key for multiple environments?
Can I use the same key for multiple environments?
It is recommended to:
- Use separate API keys for:
- Development.
- Staging.
- Production.
- Isolate data and actions per environment.
- Rotate keys independently as needed.
Authentication & Authorization Behavior
What does a 401 Unauthorized mean in Tuco?
What does a 401 Unauthorized mean in Tuco?
What does a 403 Forbidden mean?
What does a 403 Forbidden mean?
A
403 Forbidden indicates:- You are authenticated, but not allowed to perform this action or access this resource.
- Attempting to access resources not belonging to the workspace associated with your token.
- Using a token with insufficient privileges (where granular roles are configured).
Billing, Read-Only Mode & Quotas
What is READ_ONLY mode and how does it affect my integration?
What is READ_ONLY mode and how does it affect my integration?
When a workspace enters read-only mode (e.g. due to billing issues), write operations may fail with:Effects:
- You may still be able to read data (e.g. leads, messages, lines).
- Writes such as creating new messages or leads will be blocked.
- Treat this as a hard stop for writes.
- Surface clear messaging in your own UI or logs:
- “Tuco workspace is in read-only mode; please resolve billing in Tuco.”
- Avoid infinite retries; they will continue to fail until resolved.
How do plan limits interact with daily message limits?
How do plan limits interact with daily message limits?
At a high level:
Together, they ensure:
- Plan limits:
- Define global ceilings (e.g. total messages per day or month per workspace).
- Per-line limits:
- Define how many messages a specific line can send in a day.
Together, they ensure:
- No single line is overused.
- Entire workspaces stay within contracted limits.
Data Privacy & Isolation
How is my workspace data isolated from others?
How is my workspace data isolated from others?
Workspaces provide logical isolation:
- Each workspace has its own:
- Leads.
- Campaigns.
- Messages.
- Lines and configuration.
- The workspace associated with the authenticated user or API key.
Can Tuco staff see my messages and leads?
Can Tuco staff see my messages and leads?
Operational behavior depends on contractual and legal requirements; in general:
- Access to data by Tuco personnel is restricted and audited.
- Where sensitive environments require it, additional controls can be applied via:
- Support agreements.
- Data processing addenda.