Workspace and account
API keys
Reach your workspace from your own code with an API key.
Create an API key
- Open Settings, then APIs.
- Click New API key.
- Name the key after what will use it and choose its access: Read and write, or Read only.
- Click Create key and copy it straight away from Your new API key. It is shown only once.
Copy it once
Right after you create a key, the page shows it in full under Your new API key with a Copy button. Leave the page and it is never shown again: only its first characters stay visible.
Your keys
- Click Keys to open the panel with every key, its access (read and write, read-only or revoked), calls in the last 30 days and when it was last used.
- Click Revoke to stop a key at once. Any request using it is refused.
- A workspace can have up to 10 active keys. Keys are for owners and admins.
Using the API
- Every request needs a key, sent as a bearer token. A request with a missing, wrong or revoked key is refused with 401.
- Read-only keys can fetch data but not change it.
- To add leads to a list, send the ID of the list as list_id: POST /leads with {"email": "jane@acme.com", "list_id": "<list ID>"}, or up to 500 at once to POST /lists/<list ID>/leads. Open the list and click Copy list ID (also on the Lists page).
- A whole campaign can be run from your code: create it, set its sequence (PUT /campaigns/<id>/steps), attach mailboxes, add the leads of a list, launch, pause or resume it, and read its stats and replies.
- Meetings: read and change booking pages, list free slots for a date range in any time zone, book a slot, and cancel or reschedule meetings.
- Click Read the API docs for every endpoint, with examples for adding leads, creating campaigns, booking meetings and reading stats.