PUT
/
secrets
/
{setName}
curl --request PUT \
--url https://api.pipecat.daily.co/v1/secrets/{setName} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"secrets": [
{
"secretKey": "API_KEY",
"secretValue": "your-api-key"
},
{
"secretKey": "DATABASE_URL",
"secretValue": "postgresql://user:pass@host:5432/db"
}
]
}'
{
"status": "OK"
}

Authorizations

Authorization
string
header
required

Authentication requires a Pipecat Cloud Private API token. Generate a Private API key from your Dashboard (Settings > API Keys > Private > Create key) and include it as a Bearer token in the Authorization header.

Path Parameters

setName
string
required

Name of the secret set to create or update

Required string length: 3 - 63

Body

application/json

Response

200
application/json

Secret set successfully created or updated

The response is of type object.