Numbers
Update number
POST
/
v1
/
numbers
/
update
curl --request POST \
--url https://api.fluents.ai/v1/numbers/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"outbound_only": true,
"label": "<string>",
"inbound_agent": {},
"example_context": {},
"description": "<string>"
}'
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"number": "+1234567890",
"active": true,
"label": "My Phone Number",
"inbound_agent_name": "Agent Name",
"outbound_only": false,
"example_context": {},
"telephony_provider": "twilio",
"description": "Business line for customer service",
"inbound_agent": "agent_123",
"telephony_account_connection": "550e8400-e29b-41d4-a716-446655440000"
}
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/numbers/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"outbound_only": true,
"label": "<string>",
"inbound_agent": {},
"example_context": {},
"description": "<string>"
}'
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"number": "+1234567890",
"active": true,
"label": "My Phone Number",
"inbound_agent_name": "Agent Name",
"outbound_only": false,
"example_context": {},
"telephony_provider": "twilio",
"description": "Business line for customer service",
"inbound_agent": "agent_123",
"telephony_account_connection": "550e8400-e29b-41d4-a716-446655440000"
}
Assistant
Responses are generated using AI and may contain mistakes.