Skip to main content

Access Token

An access token is an opaque string that identifies a user or a user's privileges and can be used by applications to make API calls to WOZTELL.

Scope Permissions

The token includes information about when the token will expire and which user generated the token. There are different scopes and permissions of access tokens to support different use cases:

Access Token TypeDescription
bot:adminGrant all Bot APIs access
bot:sendResponsesGrant permissions to send responses on behalf of bot
bot:redirectMemberToNodeGrant permissions to redirect member to node on behalf of bot
api:adminGrant all APIs access
integration:adminGrant all Integration APIs access
integration:writeGrant permissions to create & update Integration
integration:deleteGrant permissions to delete Integration
file:adminGrant all File APIs access
file:waGetGrant permisisons to get file url by WhatsApp media ID
member:adminGrant all Member APIs access
member:readGrant permissions to read Member list by externalId or memberId
member:writeGrant permissions to create & update Member

Access Token Generation

Access tokens are generated via the following method. Please head to "Settings" -> "Access Tokens".

  1. Head to "Access Tokens" under "Settings".

  2. Go to "Generate Access Token".

Access Token in Settings
Access Token in Settings
  1. Choose the expiration date & time. If you do not select any time, the token will be long-lived.
Access Token with Expiry Date
Access Token with Expiry Date
Skip the Expiration Time if you want the Access Token to be long-lived.
Skip the Expiration Time if you want the Access Token to be long-lived.
  1. Select the scope and permissions you require in the access token.
Select Scopes
Select Scopes
  1. Select the length of token you would like to obtain. Then, click "Generate".
Generate Access Token
Generate Access Token
  1. The Access Token in the your selected length will be generated.

Management

Under the Active access tokens, the long and short tokens can be viewed in separate tabs.

ItemDescription
Access TokenThe generated access token, you may click to copy the token
CreatorThe user who generated the access token
ScopesThe scopes & permissions granted
Using forThe extension associated to the access token. "Woztell Platform" will be displayed if the access token is just generated by a user instead of an extension.
Expired AtThe expiration time of the access token; "Never" means the token is long-lived
Active Access Token
Active Access Token

If an access token is generated by an extension, the associated extension will be displayed under "Using For". The tokens generated by extensions cannot be deleted manually by a user, unless the associated extension is uninstalled.

Locked Access Token
Locked Access Token

To revoke an access token, select "More" and then "Revoke".

Revoke Access Token
Revoke Access Token