API Tokens
Create and manage personal API tokens. A token acts as the user who created it and is sent with X-API-Key: <token> or Authorization: Bearer <token>. The token secret is returned only once, when the token is created. See API Tokens.
📄️ List API tokens
Returns the API tokens of the signed-in user with name, short preview, status, expiration, scopes, and last-use metadata. Token secrets are never returned. With `scope`, returns only active tokens created with that scope (for example `gps:ingest` to pick a token for sending locations).
📄️ Create an API token
Creates an API token that acts as the signed-in user, limited to the requested scopes (`all` for full access). Scopes cannot be changed later. The response contains the full token secret; it is shown only once and cannot be retrieved later. Optionally set an expiration time.
📄️ Get the calling API token
Returns the API token used to authenticate this request, including its scopes, so a client can check what it is allowed to do. Works with a token of any scope. Returns 404 when the request is not authenticated with an API token.
📄️ Rename an API token
Changes the name or expiration time of an API token owned by the signed-in user.
📄️ Revoke an API token
Revokes an API token owned by the signed-in user. Requests using the token are rejected from then on.