Codique

DevelopersAPI keys and scopes

Developers · REST API

API keys and scopes

Create a key, pick its scopes and revoke it.

On this page
  1. Open SettingsAPI keys and click Create key

    Workspace admins can create keys.

  2. Name it and choose its scopes

    Name it after the system that will use it, such as “CRM sync”. Tick only the scopes it needs.

  3. Copy the key

    It starts with sk_live_ and is shown once. Store it in your secrets manager.

Use the key
curl https://api.example.com/api/v1/contacts?limit=10 \  -H "Authorization: Bearer $CODIQUE_API_KEY"

Scopes

A key can do only what its scopes allow: the same permissions a team member’s role grants.

AreaScopes
Inboxinbox:read inbox:send inbox:upload inbox:assign
Contactscontact:read contact:create contact:edit contact:delete contact:import contact:export
Templatestemplate:read template:create template:edit template:delete template:sync
Campaignscampaign:read campaign:create campaign:send campaign:cancel
Workflowsworkflow:view workflow:execute
Tagstag:read tag:create
Webhookswebhook:read webhook:create

Revoke a key

Revoke it from the same screen. It stops working immediately. The list shows when each key was last used, which helps you find keys nobody needs any more.

Still stuck? Contact us with what you were doing and the exact message you saw.