API Reference/

Reference

Token Types

Anagrama uses two types of bearer tokens. Each has different permissions and is obtained differently.

TokenPrefix
API Keyak_
CLI Tokencli_
Both token types are passed the same way: as a Bearer token in the Authorization header. The server detects the token type from the prefix and applies the correct permissions.
cli_ tokens are obtained through the Device Code Flow and are tied to a specific user's account. They are used exclusively by the official Anagrama CLI. For your own projects, use ak_ API keys with the Word API.
Was this page helpful?
Anagrama API Docs | Developer Reference