Generate Authorization Token

Use the login mutation to generate an access token in order to use the Telewellness Portal API.

Required Arguments

Argument

Type

Description

email

String!

Telewellness Admin email.

password

String!

Telewellness Admin password.

Available Fields

Field

Type

Description

success

Boolean

True if thelogin is successful, Otherwise False.

accessToken

String

This token will be used as Authorization header.

Example

mutation {login(
  input:{
    email: "suggestic.admin@suggestic.com"
    password: "adminpass"
  }
){
  success
  message
  accessToken
  refreshToken
  }
}

Last updated