Skip to content

Tokens

A token is a symbol set that identifies Flows and users. It can authorize any request on your behalf and represent your identity as well as permission level.

Token types

  • User token: is created when you log in to OneReach.ai. Such tokens contain your e-mail, ID, and role. The token expires when you log out of the system, meaning each new login creates a new token.
  • Flow token: is created when you activate a Flow. Such tokens identify the Flow permission level based on the permission level of the person who activated the Flow. The Flow token is the same from session to session and expires when the Flow is deactivated.

How to retrieve the token from your Flow

Use this.config.flowToken in any Step to retrieve the token.

Warning

Do not show or send your token to anyone.