> For the complete documentation index, see [llms.txt](https://relampago.gitbook.io/rayo-apis/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://relampago.gitbook.io/rayo-apis/reference/rayo-instant-ln-payouts-to-latam/authentication.md).

# Authentication

Generate a session token. These expire every 3 minutes and will be required in every api call.

## Generate Auth Token

<mark style="color:blue;">`GET`</mark> `https://api.relampago.cash/token`

#### Query Parameters

| Name                                    | Type   | Description         |
| --------------------------------------- | ------ | ------------------- |
| orgId<mark style="color:red;">\*</mark> | String | orgId of the client |

#### Headers

| Name                                        | Type   | Description                                |
| ------------------------------------------- | ------ | ------------------------------------------ |
| X-API-KEY<mark style="color:red;">\*</mark> | String | the api key must be included in the header |

{% tabs %}
{% tab title="200: OK Successful Response" %}

```
{
    token: String
}
```

{% endtab %}
{% endtabs %}
