Authenticate with Postman
Postman example
- You are a manager of the company.
- Open Postman
- Send POST request with :
- Url: https://web.twake.app/api/console/v1/login
- Headers:
{ "Content-Type": "application/json", }
- Body:
{ id: $APP_
ID, secret: $APP_SECRET
}
- This POST request will return a JWT token, this token will allow your application to send events in Twake
If you're not sure that the procedure to generate a token goes well :
- Send GET request with :
- Url: https://web.twake.app/api/console/v1/me
- Headers:
{ "Content-Type": "application/json",
Authorization: "Bearer " + $APP_TOKEN }
Last modified 1yr ago