---
title: "Store Organization Credential"
method: POST
path: "/v1/organizations/{organization_id}/provider-credentials"
tags: ["public_api", "external", "byok"]
---

# Store Organization Credential

`POST /v1/organizations/{organization_id}/provider-credentials`

## Request

- Base URL: `https://api.hydracept.com`
- URL: `https://api.hydracept.com/v1/organizations/{organization_id}/provider-credentials`
- Auth: HTTP bearer

## Path parameters

- `organization_id` string, required

## Request body

- ProviderCredentialCreate
  - `provider` string, required
  - `secret` string, required
  - `label` string

## Response `200`

Successful Response

- object

## Other responses

- `401`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `403`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `404`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `422`: Validation failure: public envelope plus Pydantic `detail` / `validationErrors`
- `429`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `500`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `502`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `503`: Structured public error envelope (`code`, `message`, `requestId`, …)

---

[API](https://skmtc.dev/hydracept/apis/hydracept-public-api.md) · [All operations](https://skmtc.dev/hydracept/apis/hydracept-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hydracept/apis/hydracept-public-api/revisions/2d41a8069ede?raw)
