---
title: "Create connection profile"
---

> Documentation Index
> Fetch the complete documentation index at: https://www.arroyo.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create connection profile

Path: Arroyo REST API › connection_profiles

`POST /v1/connection_profiles`

URL: `http://localhost:5115/api/v1/connection_profiles`

## Request body

_Required._

- `config` (`create_connection_profile.config`; unknown, required)
- `connector` (`create_connection_profile.connector`; string, required)
- `name` (`create_connection_profile.name`; string, required)

## Example request

```json
{
  "config": null,
  "connector": "string",
  "name": "string"
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url http://localhost:5115/api/v1/connection_profiles \
  --header 'Content-Type: application/json' \
  --data '
{
  "config": null,
  "connector": "string",
  "name": "string"
}
'
```

### TypeScript

```typescript
const url = 'http://localhost:5115/api/v1/connection_profiles';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({config: null, connector: 'string', name: 'string'})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "http://localhost:5115/api/v1/connection_profiles"

payload = {
    "config": None,
    "connector": "string",
    "name": "string"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

Created connection profile

#### Example

```json
{
  "config": null,
  "connector": "string",
  "description": "string",
  "id": "string",
  "name": "string"
}
```

- `config` (`create_connection_profile.response.200.config`; unknown, required)
- `connector` (`create_connection_profile.response.200.connector`; string, required)
- `description` (`create_connection_profile.response.200.description`; string, required)
- `id` (`create_connection_profile.response.200.id`; string, required)
- `name` (`create_connection_profile.response.200.name`; string, required)


Source: https://www.arroyo.dev/docs/api/create-connection-profile/index.md
