An API key lets your own scripts read and change your organisation's data, with the same permission checks as the app. Synth AI has no published public API. A key calls the endpoints the app itself uses. They aren't versioned and can change without notice, so build on them with care.
Who can use keys
Owner and Admin can create and revoke keys. To do it, see API keys.
| Plan | API keys |
|---|---|
| Trial | 0 |
| Starter | 0 |
| Growth | 5 |
| Scale | 20 |
| Enterprise | No fixed limit |
See Reaching a plan limit for how these apply.
Authenticate
Send the key as a bearer token to https://api.synth-ai.site. A key starts with syn_live_ and is shown once, when you create it.
This lists ten leads from one workspace, best fit first. The key needs the leads.read permission. The workspace name is the one in your app address after /w/.
curl -H "Authorization: Bearer syn_live_your_key_here" \
"https://api.synth-ai.site/api/prospects?product=your-workspace&limit=10"
The answer is JSON with prospects, total, page and limit. Without leads.write on the key, lead email addresses come back masked.
Endpoints checked to accept a key
| Request | Permission | Returns |
|---|---|---|
GET /api/workspaces |
workspaces.read |
Your workspaces |
GET /api/prospects?product= |
leads.read |
Leads |
GET /api/agents?product= |
agents.read |
Agents |
GET /api/approvals?productId=&status=PENDING |
approvals.read |
Drafts waiting in the Inbox |
GET /api/usage |
usage.read |
Credit balance and recent charges |
A key can reach other endpoints if it holds the permission they need. This table lists the ones we checked.
What a key can do
A key can do exactly what its permissions allow, and you can only choose permissions you hold yourself.
A key can never delete or transfer the organisation, manage the team, manage API keys, change billing or security settings, or export all organisation data.
A key with approvals.decide can approve drafts, and an approved email is sent. Give this permission to a key only if a person makes that decision in your own system.
How keys behave
- Belongs to the organisation. Removing the person who created a key doesn't revoke it, and changing their role doesn't reduce it. Revoke keys you no longer need.
- Permissions are fixed. To change them, create a new key and revoke the old one.
- No workspace, address or expiry options. A key created in Settings → API keys reaches every workspace and doesn't expire. A member limited to some workspaces can't create one there.
- Revoking is immediate. The next request fails.
- Recorded. Creating and revoking a key are written to the audit log, and the page shows when each key was last used.
Errors
| Status | error |
Meaning |
|---|---|---|
| 401 | Missing or malformed Authorization header |
The bearer header is missing or wrong |
| 401 | Invalid or expired token |
The key is wrong or has been revoked |
| 403 | forbidden |
The key lacks the permission named in the answer |
| 403 | organisation_suspended |
The organisation is suspended |
Still stuck? Open a support request in the app, or use the contact form if you can't sign in.