Authentication
All methods of the Ventiapp API Rest require prior authentication. To authorize public functions, OAUTH 2.0 is used with Bearer Tokens.
login
POST
https://ventiapi.azurewebsites.net/login
Generation of bearer token to be able to use the rest of the Ventiapp API functions. Once you do this authentication you can use the rest of the functions. To see how to make calls using the token, please go to the next post In the answer you will get the following values: access_token: Token that you will use to call public functions. It is very important that you store this value. token_type: Type of token used by the platform expires_in: Time in seconds it will take for the token to expire (currently 1 week) These parameters should go as x-www-form-urlencoded
Request Body
Name | Type | Description |
---|---|---|
username | string | Email de acceso de cuenta con permisos de administrador |
password | string | Password de acceso de cuenta con permisos de administrador |
grant_type | string | Parámetro requerido con el valor "password" para poder realizar la autenticación |
Example of x-www-form-urlencoded
Última actualización