Create App Token
ethora-app-tokens-create-v2Mint a new app token for an app. The secret token value is returned exactly once and cannot be retrieved again — capture it immediately. Returns the new token including its one-time secret value and tokenId.
Auth: B2B mode (ethora-auth-use-b2b + a configured b2bToken). Errors: 401/403 not in B2B mode; 400 no appId and none selected; 404 unknown appId. Related: manage with ethora-app-tokens-list-v2 / -rotate-v2 / -revoke-v2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | 24-char hex appId to mint the token for. Optional — defaults to the app set via `ethora-app-select`. | |
| label | No | Human-readable label to identify this token later (e.g. `staging`, `ci`). Shown in `ethora-app-tokens-list-v2`. | |
| timeoutMs | No | HTTP timeout for this request, in milliseconds. Default 10000. |