POST
/
v1
/
account_connections
/
update
curl --request POST \
  --url https://api.fluents.ai/v1/account_connections/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "user_id": "550e8400-e29b-41d4-a716-446655440000",
  "label": "My Account Connection",
  "description": "This is a description",
  "type": "account_connection_twilio",
  "credentials": {
    "twilio_account_sid": "AC1234567890",
    "twilio_auth_token": "1234567890"
  },
  "steering_pool": [
    "+1234567890"
  ],
  "account_supports_any_caller_id": false,
  "config": {
    "voicemail_detection": {}
  }
}'
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "user_id": "550e8400-e29b-41d4-a716-446655440000",
  "label": "My Account Connection",
  "description": "This is a description",
  "type": "account_connection_twilio",
  "credentials": {
    "twilio_account_sid": "AC1234567890",
    "twilio_auth_token": "1234567890"
  },
  "steering_pool": [
    "+1234567890"
  ],
  "account_supports_any_caller_id": false,
  "config": {
    "voicemail_detection": {}
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

id
string
required

Body

application/json
id
string
Example:

"550e8400-e29b-41d4-a716-446655440000"

user_id
string
Example:

"550e8400-e29b-41d4-a716-446655440000"

label
string
Example:

"My Account Connection"

description
string
Example:

"This is a description"

type
enum<string>
Available options:
account_connection_twilio,
account_connection_openai,
account_connection_google,
account_connection_azure_llm,
account_connection_elevenlabs,
account_connection_deepgram,
account_connection_cartesia,
account_connection_playht,
account_connection_rime,
account_connection_azure_speech,
account_connection_assemblyai,
account_connection_deepseek,
account_connection_togetherai,
account_connection_telnyx,
account_connection_un_pw_oauth,
account_connection_login_key_oauth,
account_connection_external_api_key
Example:

"account_connection_twilio"

credentials
object
Example:
{
"twilio_account_sid": "AC1234567890",
"twilio_auth_token": "1234567890"
}
steering_pool
string[]
Example:
["+1234567890"]
account_supports_any_caller_id
boolean
Example:

false

config
object
Example:
{ "voicemail_detection": {} }

Response

201
application/json
id
string
required
Example:

"550e8400-e29b-41d4-a716-446655440000"

user_id
string
required
Example:

"550e8400-e29b-41d4-a716-446655440000"

type
enum<string>
required
Available options:
account_connection_twilio,
account_connection_openai,
account_connection_google,
account_connection_azure_llm,
account_connection_elevenlabs,
account_connection_deepgram,
account_connection_cartesia,
account_connection_playht,
account_connection_rime,
account_connection_azure_speech,
account_connection_assemblyai,
account_connection_deepseek,
account_connection_togetherai,
account_connection_telnyx,
account_connection_un_pw_oauth,
account_connection_login_key_oauth,
account_connection_external_api_key
Example:

"account_connection_twilio"

credentials
object
required
Example:
{
"twilio_account_sid": "AC1234567890",
"twilio_auth_token": "1234567890"
}
config
object
required
Example:
{ "voicemail_detection": {} }
label
string
Example:

"My Account Connection"

description
string
Example:

"This is a description"

steering_pool
string[]
Example:
["+1234567890"]
account_supports_any_caller_id
boolean
Example:

false