Account Connections
Update account connection
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Body
application/json
Response
201
application/json
The response is of type object
.
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": {}
}
}