Device Connectivity Made Easy

Focus on your product and innovation and leave communication and management to DeviceHive.

Get Started

Creates and returns access and refresh tokens for the given user.

Request

HTTP Request

POST /token

Authorization
None

Request Body
In the request body, supply user credentials.

Property Name

Required

Type

Description

login

Yes

string

User login.

password

Yes

string

User password.

Response

If successful, this method returns a pair of access and refresh tokens.

Property Name

Type

Description

accessToken

string

Access JSON Web Token.

refreshToken

string

Refresh JSON Web Token.

Updated less than a minute ago

login


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.