Login

Checks user credentials and provide an access token

REQUEST OBJECT HAS THE FOLLOWING PROPERTIES:

AttributeTypeDescriptionRequired
loginstringLogin information, it will be e-mail for admin and back office users or document (CNPJ) for othersYes
passwordstringUser passwordYes
targetstringTarget of interface user, values supported[admin,customer]No

Response object has the following properties:

AttributeTypeDescription
access_tokenstringGenerated token for current user
expires_instringToken expiration time

Response status code

statusDescription
200CREATED
400BAD_REQUEST
500INTERNAL_SERVER_ERROR
404NOT_FOUND
Language
URL
Click Try It! to start a request and see the response here!