API keys: connect your own systems
Create, rotate and revoke an API key, and what the public API can do.
# API keys
Settings > API keys (under Advanced) lets your website, CRM or phone system push leads in securely. Pro plan. Owner and Admin.
Create a key
Press create, give it a name, an optional expiry in days (0 means never) and a rate limit in requests per minute. The key is shown once. Copy it now: only a one-way hash is stored.
Use it
Send it as a Bearer token in the Authorization header. Keep keys on your server and never put them in website JavaScript. For browser forms use a hosted or embedded form instead. Send an Idempotency-Key header to avoid duplicates on retries.
What the API can do
- Create and read leads (/api/v1/leads).
- Look up contacts by phone (/api/v1/contacts).
- Add activities to a lead (/api/v1/activities).
If the person already has a lead, the API returns updated_existing with that lead and its lead_status, and adds the enquiry to its timeline. duplicate_strategy is still accepted, but only skip changes anything. The page shows examples you can copy.
Rotate and revoke
- Rotate: a new key is created now and the old key stops within 24 hours.
- Revoke: the key stops immediately and any system using it fails.
Limits
There is a request limit per month and a per-minute limit on each key. Changes to keys are recorded in the Audit log.