Retrieving an Access Token

The password grant flow allows you to pass in a user’s username (email address) and password to get an access token in return.

Body Params
string
required

The client ID for your Zype application

string
required

The client secret for your Zype application

string
required

The username (email) of the consumer. Note: Password is required if username is used to authenticate.

string

Password of the consumer. Note: Required if using username to authenticate.

string

The linked device ID of the consumer. Note: Pin is required if linked device ID is used to authenticate.

string

The pin for the linked device. Note: Required if using linked device ID to authenticate.

string
enum
required

Use password to initially authenticate and refresh_token to refresh the consumer's access token.

Allowed:
string

Use this token if you wish to extend the access time the consumer has without having to re-authenticate.

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json