Authentication
https://bioderma.naos.clicksend.com.mx/api/v1/loginToken
Method: POST
Method Objective:
With this service, you can generate a new token to make requests to the API services.
To generate a token correctly, you need the user and password that were registered in the system.
Headers
Accept
Content-Type
application/json
application/json
Body RAW
Request:
| Field | Type | Description |
|---|---|---|
| email * | String | User email |
| password * | Numeric | User password |
Response:
201 OK
| Field | Type | Description |
|---|---|---|
| status | string | Response status of the request |
| message | String | Response message of the request |
| access_token | String | Access token |
Validation errors, when a required field is not sent
422 Error
404 Error
| Field | Type | Description |
|---|---|---|
| error | string | Name of the field and message, mandatory in the request |
| code | String | Error code in the request |