# TokenCreate

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 named type of the API.

## Fields

- `address` (string, up to 45 characters): Client IP address to bind the token to. A request from a different IP address is refused and revokes the token. Omit this field to allow requests from any IP address. A session token is always bound to the client IP address used at login.
- `expires_in` (integer, 0 to 315360000): Number of seconds until the token expires. Use 0 or omit the field for a token that never expires.
- `label` (string, up to 64 characters)
- `scopes` (array of Scope): Scopes to grant the new token, defaulting to read when omitted. You can grant only scopes that the calling token holds. A session token's all scope excludes permission to grant export.

## Used by

- [POST /tokens](https://urbestack.com/docs/api/post-tokens.md): Create an API token for the caller
