Postman example
This guide will introduce you to authenticate with Postmanarrow-up-right.
You are a manager of the company.
You have already created a Twake application.
You have previously installed Postmanarrow-up-right.
Open Postman
Find the app's credentials according to Create your first application
Send POST request with :
Url: https://web.twake.app/api/console/v1/login
Headers: { "Content-Type": "application/json", }
{ "Content-Type": "application/json", }
Body: { id: $APP_ID, secret: $APP_SECRET }
{ 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 }
{ "Content-Type": "application/json",
Bearer " + $APP_TOKEN }
Last updated 3 years ago