Before you start
- Your organization needs the API access add-on. See Add-ons.
- Your role needs the API keys permissions. See Roles and permissions.
Create a key
1
Open the form
On the API Keys page, click Create key.
2
Name the key
Enter a Name. Use a name that tells where you use the key.
3
Set an expiry (optional)
Select a date in Expires (optional). The date must be after today. Without a date, the key does not expire.
4
Create
Click Create.
5
Copy the key
Click Copy. Keep the key in a safe place, for example a password manager. Then click Done.
What a key can read
Each key gets these scopes. The Scopes column shows them.metrics:read: visibility, authority, technical analysis, content analysis, bot logs, opportunities, impact and integrations.catalogue:read: sites, prompts, personas and competitors.runs:read: visibility, technical analysis and content analysis runs.
- If the member loses a permission, the key loses it too.
- If the member is suspended, the key stops working.
- You must hold all the permissions that the scopes cover. If you do not, Perquery refuses the new key.
Use a key
Send the key in theAuthorization header of each request:
The key list
The API Keys page lists all keys of the organization, also the revoked keys.Rename a key
1
Start the rename
Click Rename (the pencil icon) in the row of the key.
2
Save
Enter the new name. Click Save.
Revoke a key
1
Start the revoke
Click Revoke (the trash icon) in the row of the key.
2
Confirm
Click Revoke?.

