> 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/generate-api-key.md).

# Generate Api Key

Generate the api key/secret that you will be using to access the Relampago apis

## Creates a new api key.

<mark style="color:green;">`POST`</mark> `https://api.relampago.cash/apikey`

This is the entry point into the Relampago apis. It is a public endpoint but your organization will need an orgId to get started.

#### Request Body

| Name                                    | Type   | Description                |
| --------------------------------------- | ------ | -------------------------- |
| name<mark style="color:red;">\*</mark>  | string | The name of the api key    |
| orgId<mark style="color:red;">\*</mark> | string | the id of the organization |

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

```javascript
{
    "id":"apikey-99999"
    "value": "apisecret-393992993",
}
```

{% endtab %}
{% endtabs %}

##
