> Markdown version of https://tuna.am/en/docs/api/public-key-connect-settings/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# Get settings for connecting with a key

post`/v1/public_keys/connect_settings`

## Request

### Authorization

* **Authorization**stringheaderrequired

  Key in the format `Bearer <API-key>`. Create a key on the [API keys](https://my.tuna.am/api_keys) page.

### Request body

application/json

* **location**stringrequired

  Location

### Response

200application/json

* **domain**string

  Domain the tunnel connects to
