# Create a Project Self-Hosted Distribution Credential

**POST** `/v1/projects/{project_id}/self-hosted/distribution/credentials`

Creates a set of distribution credentials for the specified project

Base URL: `https://agent.deepgram.com`

Tags: `distributionCredentials`

## Authorization

| Option | Scheme | Type | Sent as | Scopes |
| --- | --- | --- | --- | --- |
| Option 1 | `ApiKeyAuth` | `apiKey` | header `Authorization` | — |

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `project_id` | `string` | Yes | The unique identifier of the project |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `scopes` | `array` | No | List of permission scopes for the credentials |
| `provider` | `string` | No | The provider of the distribution service Allowed values: `quay`. |

## Request body

Optional. Media type: `application/json`

The set of distribution credentials to create

### Example request body

```json
{
  "comment": "string"
}
```

## Responses

| Status | Description | Media type |
| --- | --- | --- |
| `200` | Single distribution credential | `application/json` |
| `400` | Invalid Request | `application/json` |

### Example response: 200 — Single distribution credential

```json
{
  "distribution_credentials": {
    "comment": "string",
    "created": "2026-06-09T00:00:00Z",
    "distribution_credentials_id": "00000000-0000-0000-0000-000000000000",
    "provider": "string",
    "scopes": [
      "string"
    ]
  },
  "member": {
    "email": "user@example.com",
    "member_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

### Example response: 400 — Invalid Request

```json
{
  "err_code": "string",
  "err_msg": "string",
  "request_id": "string"
}
```

## Related pages

- [Analyze text content](./text_analyze.md)
- [audio](./tags/audio.md)
- [balances](./tags/balances.md)
- [breakdown](./tags/breakdown.md)
- [configurations](./tags/configurations.md)
- [Create a Project Invite](./invites_create.md)
- [Create a Project Key](./keys_create.md)
- [Create an Agent Configuration](./configurations_create.md)
- [Create an Agent Variable](./variables_create.md)
- [Delete a Project](./projects_delete.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
