User Authentication

Learn how to get your TNID client key and secret to authenticate into the GraphQL API.

Users of TNID (as opposed to Companies) are currently able to generate an access token using an OTP to their telephone number.

Generate Your Access Token

The below URLs are available to create your API token, depending on your environment:

Staging Environment
Demo Environment

Make a request to /auth/create_user_otp with the telephone_number of an existing user or a not existing user and optional information:

Make a request with the telephone_number and the received otp_code to /auth/token:

Use the access_token from the response to interact with the GraphQL api at /user.

Example Code

Last updated

Was this helpful?