How do I create and manage API keys?
Create and manage API keys in Qaf’s Settings. An API key is a secret code that lets a program make requests to Qaf’s API on your behalf. Sign in to the Qaf account you want the key to belong to.
Create a key
- Open Settings in Qaf.
- Select API.
- Select Create API Key.
- Enter a name that helps you recognise what the key is for.
- Select Create. Qaf shows the new key.
- Copy the key.
The new key appears as Active in the list. Follow the API quickstart to use it. If you’ve lost a key, create a replacement and revoke the old one. Qaf can’t show the old key again.
Rename a key
Renaming a key changes its label. Anything using that key keeps working.
- Open Settings in Qaf.
- Select API.
- Open the three-dot menu next to the key.
- Select Rename.
- Enter the new name.
- Select Save. The new name appears in the list.
Revoke a key
Revoking a key makes it stop working immediately.
- Open Settings in Qaf.
- Select API.
- Open the three-dot menu next to the key.
- Select Revoke.
- If prompted, confirm that you want to revoke the key.
The key appears as Revoked in the list. If you can’t rename or revoke a key, try again. If the change still fails, email us at contact@qaf.ai.