User Authentication
Learn how to get your TNID client key and secret to authenticate into the GraphQL API.
Last updated
Was this helpful?
Learn how to get your TNID client key and secret to authenticate into the GraphQL API.
Last updated
Was this helpful?
Users of TNID (as opposed to Companies) are currently able to generate an access token using an OTP to their telephone number.
We do not expire tokens or force password resets at any time. We follow the latest NIST guidelines and believe in a strong, lengthy secure password protocol. Create new Client Secrets if you believe there is evidence of a compromise.
The below URLs are available to create your API token, depending on your 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.