GUIDE
Authentication
Every request carries a personal token in the Authorization header. Tokens start with mdo_. They aren't accepted in the address or the body.
Authorization: Bearer mdo_…
Making a token
In Cloverr, open Settings → API & MCP and press Create. You choose:
- Scopes:
readlists and reads;writecreates and changes;beesasks Workers and reads their runs. GET /v1/me works with any scope. Each endpoint says which it needs. - Expiry: 30, 90 or 365 days, or never. An expired token gets
401 unauthorized. - Allowed addresses (optional): single addresses or ranges (
81.2.69.160,81.2.69.0/24,2001:db8::/48). From anywhere else the token gets403 ip_not_allowed.
What a token can see
A token acts as the person who made it, in the organisation it was made in, and follows the same rules as the app: private chats need membership, docs follow their sharing, mail is their own and their projects'. If they leave the organisation, the token stops working. If the organisation requires login verification, the token only works once they've set it up (403 two_factor_required).
Keeping tokens safe
- The token is shown once and stored only as a hash. Lost one? Revoke it and make another.
- Each token's recent calls (method, path, address, result) are listed in Settings → API & MCP, so you can spot misuse.
- Never put a token in browser code or a public repository. Call the API from your server.