Admins and the owner see the key list and make or revoke public keys. Only the owner makes or revokes secret keys; an admin sees them in the list but cannot. A member sees the Event names and Trait keys tabs under Developers, and asks the owner for a key. See Members and roles.
Make a key
1
Open the key list
Open Developers. The API keys tab opens.
2
Start a new key
Choose Create key, or Create publishable key in a workspace with no key yet.
3
Name it and pick its kind
Enter a Name of 1 to 100 characters; your team sees it, your app never does. Under Kind, pick Publishable or Secret (owner only).
4
Pick the scopes of a secret key
Tick its Scopes. See Scopes.
5
Create it
Choose Create key. The console shows the key and how to use it.
Scopes
You choose a secret key’s scopes when you make it, and they never change. Onapi.maqetin.com, a call the key has no scope for gets 403. On /v1/batch, a secret key without events:write gets 401.
A secret key made with no scope ticked can only read contacts.
The key list
The API keys tab lists every key, revoked ones included, with its Name, Kind, Key, Scopes, Created, Last used and Status. Last used is when Maqetin last accepted the key, to the minute; it moves at most once a minute, so it can lag by one. An unused key shows Never. Only calls toapi.maqetin.com move it, so a secret key that only sends events to /v1/batch keeps showing Never.
Revoke a key
Choose Revoke on the key’s row and confirm with Revoke key. Revoking works at once:
Deleting a workspace stops its keys too. See Delete a workspace.