Skip to main content
POST
/
providers
cURL
curl --request POST \
  --url https://api.bolna.ai/providers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "provider_name": "OPENAI_API_KEY",
  "provider_value": "sk-0123456789az"
}'
{
  "message": "successful",
  "status": "added"
}
You can add your own providers securely in Bolna. Please read this page for more information about all current supported providers.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Add a new provider

provider_name
string
required

Name of the provider

Example:

"OPENAI_API_KEY"

provider_value
string
required

Secret value/key associated with the provider

Example:

"sk-0123456789az"

Response

agent status response

message
enum<string>
Available options:
successful
status
enum<string>
Available options:
added
Example:

"added"

I