This endpoint creates an authentication session for you. You receive a bearer token and a refresh token that you use to maintain this auth session for an indefinite amount of time.
Auth Only
This is a convenience function. You can make a POST request to this endpoint and just verify that the username and password are correct. We won’t give you any tokens.
POST URL
https://api.teletracker.net/auth/login
Request Parameters
Parameter
Type
Usage
Description
username
string
Required
The username to authenticate against
password
string
Required
The username’s password
account_id
integer
Optional
If the user has access to more than one account, specify the account id to be authenticated against here. You can alternatively perform a separate masquerade operation afterwards.
auth_only
integer
Optional
If set to 1, just verify that the username and password are correct and do not create an authentication session. Defaults to 0, verify and create an authentication session.