# Authenticate with Postman

## Introduction:

This guide will introduce you to authenticate with [Postman](https://www.getpostman.com/).

## Prerequisites:

* *You are a **manager** of the company.*
* You have already [created a Twake application](/developers-api/get-started/create-your-first-application.md).
* *You have previously installed* [*Postman*](https://www.getpostman.com/)*.*

## Steps:

### 1. Log your Application

* Open Postman&#x20;
* Find the app's credentials according to [/pages/-MFkdZUTjRdBWQMCHJOw#3.-api-settings](https://doc.twake.app/developers-api/get-started/pages/-MFkdZUTjRdBWQMCHJOw#3.-api-settings "mention")
* Send POST request with :&#x20;
  * 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

### 2. Optional: Verify your token

If you're not sure that the procedure to generate a token goes well :&#x20;

* Send GET request with :&#x20;
  * Url: <https://web.twake.app/api/console/v1/me>
  * Headers: `{ "Content-Type": "application/json",` Authorization: "`Bearer " +  $APP_TOKEN }`

### &#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.twake.app/developers-api/get-started/authenticate-postman.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
