For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content
Agent ProfilesUpdate Agent Profile
TestMu AI
StatusCommunityBlog
Agent Profiles

Update Agent Profile

Update an existing agent profile.

PUT
/api/agent-profiles/{profile_id}
Update 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

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

profile_idstringrequired

Body

application/json
agent_namestring

Agent name

phone_numberstring

Phone number

voice_namestring

Voice name

background_noisestring

Background noise setting

max_duration_secondsinteger

Maximum call duration in seconds (60-3600). Overrides the scenario's max_duration_seconds when set.

agent_typestring

Agent type

is_activeboolean

Whether this profile is active

Response

application/json

Successful Response

successboolean

Whether the operation was successful

messagestringrequired

Response message

dataobject

Agent profile data

data.idstring
Example: "<string>"
data.org_idstring
Example: "<string>"
data.agent_namestring
Example: "<string>"
data.phone_numberstring
Example: "<string>"
data.voice_namestring
Example: "<string>"
data.background_noisestring
Example: "<string>"
data.max_duration_secondsnumber
data.agent_typestring
Example: "PHONE_CALLER_INBOUND"
data.is_activeboolean
Example: true
data.created_atstring
Example: "2018-03-15T12:00:00Z"
data.updated_atstring
Example: "2018-03-15T12:00:00Z"
Update 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"
}
}