nexo_create_app_token
Create a persistent app token for embedding in website snippets. Returns plain-text token once for immediate use in chatbot widgets or API autorresponders.
Instructions
Create a persistent AppToken for the current user via POST /api/auth/app-tokens.
Use this when a card needs to mint a token that will live inside a snippet the user pastes on their own website (chatbot widget, embed, public API autoresponder). The plain-text token is returned ONCE — embed it in the generated snippet and never store it elsewhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | human label for the token (e.g. 'chatbot-mitienda-com'). | |
| abilities | No | comma-separated abilities. Allowed: provider-proxy:call, provider-proxy:estimate, credits:read. Defaults to 'provider-proxy:call' if empty. | |
| allowed_platforms | No | comma-separated platform keys (openai, anthropic, gemini, ...). Empty = all platforms the user has access to. | |
| expires_at | No | ISO 8601 future date, empty for non-expiring token. |