Skip to main content
POST
Create an API key

Authorizations

Authorization
string
header
required

An Intent Leads API key, e.g. il_live_ followed by 32 letters and digits. Create one on the API and CLI page of the dashboard.

Headers

Intent-Leads-Workspace
string<uuid>

Only with an organization key: the workspace to act in (its id; ?workspace=<id> works too). Lanes, leads, exports, lists, websites and webhooks live in workspaces. Without it, an organization key acts in its only workspace, or gets 400 workspace_required (with the list of workspaces) when it has several. Workspace keys don't need it. On keys, team and activity it switches from the organization's own to that workspace's.

Body

application/json
name
string
required

A name to recognise the key by. Trimmed and cut at 80 characters.

role
enum<string>
default:standard
Available options:
standard,
admin

Response

Key created.

id
string<uuid>
required
name
string
required
role
enum<string>
required
Available options:
standard,
admin
key
string
required

The full secret. Shown only in this response; store it now.

Pattern: ^il_live_[A-Za-z0-9]{32}$
note
string
required