Apps

Create a new app token (returns token once) (v2, tenant actor)

Auth: Tenant Actor

Creates a new app token for an app and returns the token once. Supports User JWT and B2B Server JWT.

post/v2/apps/{appId}/tokens

Request

  • Base URL: https://api.chat.ethora.com
  • URL: https://api.chat.ethora.com/v2/apps/{appId}/tokens
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

appIdstring required

Target App ID. Must be an app the calling actor owns or has been delegated access to.

Request body

labelstring

Optional label for the token

Response

Success

okboolean required
appIdstring required
tokenIdstring required
tokenstring required

Returned once. Store securely.

labelstring nullable
createdAtstring nullable

Example response

{
  "ok": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.