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 ProfilesCreate Agent Profile
TestMu AI
StatusCommunityBlog
Agent Profiles

Create Agent Profile

Create a new agent profile.

POST
/api/agent-profiles
Create Agent Profile
curl --request POST \
--url "https://agent-testing.lambdatest.com/api/agent-profiles" \
--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.

Body

application/json
agent_namestringrequired

Agent name

phone_numberstringrequired

Phone number

voice_namestringrequired

Voice name, as shown in the product UI's voice selector

background_noisestring

Background noise setting (optional)

max_duration_secondsinteger

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

agent_typestring

Agent type (default: PHONE_CALLER_INBOUND)

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"
Create Agent Profile
curl --request POST \
--url "https://agent-testing.lambdatest.com/api/agent-profiles" \
--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"
}
}