Authentication API

Authenticate with Telmai

POST https://env1.telm.ai/api/auth/auth/token

This API authenticates user credentials and returns an access token

Query Parameters

Name
Type
Description

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

Name
Type
Description

Content-type*

string

application/x-www-form-urlencoded

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

Last updated