3min

Obtaining an API Token

The first call to Violet that needs to be made is the /login call, to authenticate your Violet Account and credentials and retrieve an authentication token. This token stays valid for 24 hours before a new one needs to be generated.

ο»ΏPOST /login

Log in to your Violet Application and retrieve an authentication token

Request

Body

username - Username for your Violet account created on my.violet.ioο»Ώ

password - Password for your Violet account you created on my.violet.ioο»Ώ

Curl
|

Response

This method returns a token along with other information about your Violet Account. This token is a JWT token that is used to authenticate all your requests to the Violet APIs.

JSON
|

ο»Ώ

Updated 12 May 2022
Did this page help you?
Yes
No