Authentication API

Authenticate with Telmai

POST https://demo.auth.telm.ai/auth/token

This API authenticates user credentials and returns an access token

Query Parameters

NameTypeDescription

refresh_token

string

Refresh token string. Required if grant_type is "refresh_token"

password*

string

User password. Required if grant_type is "password"

grant_type*

string

"password" or "refresh_token"

username*

boolean

Username. Required if grant_type is "password"

Headers

NameTypeDescription

Content-type*

string

application/x-www-form-urlencoded

{    "access_token": "<access_token_string>",    "expires": "3600"}

Last updated