Agent Profiles › Update Agent Profile
Agent Profiles
Update Agent Profile Update an existing agent profile.
curl -- request PUT \
-- url "https://agent-testing.lambdatest.com/api/agent-profiles/{profile_id}" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"agent_name" : "<agent_name>" ,
"phone_number" : "<phone_number>" ,
"voice_name" : "<voice_name>" ,
"background_noise" : "<background_noise>" ,
"max_duration_seconds" : 0 ,
"agent_type" : "<agent_type>" ,
"is_active" : true
} '
{
"success" : true ,
"message" : "<string>" ,
"data" : {
"id" : "<string>" ,
"org_id" : "<string>" ,
"agent_name" : "<string>" ,
"phone_number" : "<string>" ,
"voice_name" : "<string>" ,
"background_noise" : "<string>" ,
"max_duration_seconds" : 123 ,
"agent_type" : "PHONE_CALLER_INBOUND" ,
"is_active" : true ,
"created_at" : "2018-03-15T12:00:00Z" ,
"updated_at" : "2018-03-15T12:00:00Z"
}
}
Authorizations Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body application/json agent_name string
Agent name
phone_number string
Phone number
voice_name string
Voice name
background_noise string
Background noise setting
max_duration_seconds integer
Maximum call duration in seconds (60-3600). Overrides the scenario's max_duration_seconds when set.
agent_type string
Agent type
is_active boolean
Whether this profile is active
Response 200▼
application/json Successful Response
success boolean
Whether the operation was successful
message string required
Response message
data object
Agent profile data
▶ Hide child attributesdata. id string
Example: "<string>"
data. org_id string
Example: "<string>"
data. agent_name string
Example: "<string>"
data. phone_number string
Example: "<string>"
data. voice_name string
Example: "<string>"
data. background_noise string
Example: "<string>"
data. max_duration_seconds number
data. agent_type string
Example: "PHONE_CALLER_INBOUND"
data. is_active boolean
Example: true
data. created_at string
Example: "2018-03-15T12:00:00Z"
data. updated_at string
Example: "2018-03-15T12:00:00Z"
curl -- request PUT \
-- url "https://agent-testing.lambdatest.com/api/agent-profiles/{profile_id}" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"agent_name" : "<agent_name>" ,
"phone_number" : "<phone_number>" ,
"voice_name" : "<voice_name>" ,
"background_noise" : "<background_noise>" ,
"max_duration_seconds" : 0 ,
"agent_type" : "<agent_type>" ,
"is_active" : true
} '
{
"success" : true ,
"message" : "<string>" ,
"data" : {
"id" : "<string>" ,
"org_id" : "<string>" ,
"agent_name" : "<string>" ,
"phone_number" : "<string>" ,
"voice_name" : "<string>" ,
"background_noise" : "<string>" ,
"max_duration_seconds" : 123 ,
"agent_type" : "PHONE_CALLER_INBOUND" ,
"is_active" : true ,
"created_at" : "2018-03-15T12:00:00Z" ,
"updated_at" : "2018-03-15T12:00:00Z"
}
}