curl --request PATCH \
--url https://api.bland.ai/v1/personas/{persona_id} \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '
{
"name": "<string>",
"role": "<string>",
"description": "<string>",
"tags": [
{}
],
"image_url": "<string>",
"call_config": {
"voice": "<string>",
"record": true,
"language": "<string>",
"background": "<string>",
"max_duration": 123,
"wait_for_greeting": true,
"interruption_threshold": 123
},
"orchestration_prompt": "<string>",
"personality_prompt": "<string>",
"default_tools": [
{}
],
"pathway_conditions": [
{
"name": "<string>",
"prompt": "<string>",
"pathway_id": "<string>",
"pathway_version": "<string>",
"start_node_id": "<string>"
}
],
"kb_ids": [
{}
]
}
'{
"data": {
"id": "12345678-1234-1234-1234-123456789012",
"name": "Blandy",
"role": null,
"description": "Helpful Agent for Bland Documentation",
"tags": [],
"image_url": null,
"created_at": "2025-09-23T15:13:36.348Z",
"updated_at": "2025-09-23T15:43:49.257Z",
"deleted_at": null,
"user_id": "12345678-1234-1234-1234-123456789012",
"current_production_version_id": "12345678-1234-1234-1234-123456789012",
"current_draft_version_id": "12345678-1234-1234-1234-123456789012",
"current_production_version": {
"id": "12345678-1234-1234-1234-123456789012",
"persona_id": "12345678-1234-1234-1234-123456789012",
"version_type": "production",
"version_number": 1,
"orchestration_prompt": null,
"personality_prompt": "You are a helpful assistant",
"pathway_conditions": null,
"kb_ids": [],
"call_config": null,
"default_tools": [],
"promoted_from_version_id": null,
"promoted_at": "2025-09-23T15:13:36.368Z",
"promoted_by": null,
"created_at": "2025-09-23T15:13:36.369Z",
"updated_at": "2025-09-23T15:13:36.369Z"
},
"current_draft_version": {
"id": "12345678-1234-1234-1234-123456789012",
"persona_id": "12345678-1234-1234-1234-123456789012",
"version_type": "draft",
"version_number": 2,
"orchestration_prompt": null,
"personality_prompt": "You are a helpful assistant",
"pathway_conditions": null,
"kb_ids": [],
"call_config": null,
"default_tools": [],
"promoted_from_version_id": "12345678-1234-1234-1234-123456789012",
"promoted_at": null,
"promoted_by": null,
"created_at": "2025-09-23T15:13:36.390Z",
"updated_at": "2025-09-23T15:13:36.390Z"
},
"inbound_numbers": []
},
"errors": null
}
Update an existing persona configuration.
curl --request PATCH \
--url https://api.bland.ai/v1/personas/{persona_id} \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '
{
"name": "<string>",
"role": "<string>",
"description": "<string>",
"tags": [
{}
],
"image_url": "<string>",
"call_config": {
"voice": "<string>",
"record": true,
"language": "<string>",
"background": "<string>",
"max_duration": 123,
"wait_for_greeting": true,
"interruption_threshold": 123
},
"orchestration_prompt": "<string>",
"personality_prompt": "<string>",
"default_tools": [
{}
],
"pathway_conditions": [
{
"name": "<string>",
"prompt": "<string>",
"pathway_id": "<string>",
"pathway_version": "<string>",
"start_node_id": "<string>"
}
],
"kb_ids": [
{}
]
}
'{
"data": {
"id": "12345678-1234-1234-1234-123456789012",
"name": "Blandy",
"role": null,
"description": "Helpful Agent for Bland Documentation",
"tags": [],
"image_url": null,
"created_at": "2025-09-23T15:13:36.348Z",
"updated_at": "2025-09-23T15:43:49.257Z",
"deleted_at": null,
"user_id": "12345678-1234-1234-1234-123456789012",
"current_production_version_id": "12345678-1234-1234-1234-123456789012",
"current_draft_version_id": "12345678-1234-1234-1234-123456789012",
"current_production_version": {
"id": "12345678-1234-1234-1234-123456789012",
"persona_id": "12345678-1234-1234-1234-123456789012",
"version_type": "production",
"version_number": 1,
"orchestration_prompt": null,
"personality_prompt": "You are a helpful assistant",
"pathway_conditions": null,
"kb_ids": [],
"call_config": null,
"default_tools": [],
"promoted_from_version_id": null,
"promoted_at": "2025-09-23T15:13:36.368Z",
"promoted_by": null,
"created_at": "2025-09-23T15:13:36.369Z",
"updated_at": "2025-09-23T15:13:36.369Z"
},
"current_draft_version": {
"id": "12345678-1234-1234-1234-123456789012",
"persona_id": "12345678-1234-1234-1234-123456789012",
"version_type": "draft",
"version_number": 2,
"orchestration_prompt": null,
"personality_prompt": "You are a helpful assistant",
"pathway_conditions": null,
"kb_ids": [],
"call_config": null,
"default_tools": [],
"promoted_from_version_id": "12345678-1234-1234-1234-123456789012",
"promoted_at": null,
"promoted_by": null,
"created_at": "2025-09-23T15:13:36.390Z",
"updated_at": "2025-09-23T15:13:36.390Z"
},
"inbound_numbers": []
},
"errors": null
}
Show call_config
Show pathway condition
Show persona object
{
"data": {
"id": "12345678-1234-1234-1234-123456789012",
"name": "Blandy",
"role": null,
"description": "Helpful Agent for Bland Documentation",
"tags": [],
"image_url": null,
"created_at": "2025-09-23T15:13:36.348Z",
"updated_at": "2025-09-23T15:43:49.257Z",
"deleted_at": null,
"user_id": "12345678-1234-1234-1234-123456789012",
"current_production_version_id": "12345678-1234-1234-1234-123456789012",
"current_draft_version_id": "12345678-1234-1234-1234-123456789012",
"current_production_version": {
"id": "12345678-1234-1234-1234-123456789012",
"persona_id": "12345678-1234-1234-1234-123456789012",
"version_type": "production",
"version_number": 1,
"orchestration_prompt": null,
"personality_prompt": "You are a helpful assistant",
"pathway_conditions": null,
"kb_ids": [],
"call_config": null,
"default_tools": [],
"promoted_from_version_id": null,
"promoted_at": "2025-09-23T15:13:36.368Z",
"promoted_by": null,
"created_at": "2025-09-23T15:13:36.369Z",
"updated_at": "2025-09-23T15:13:36.369Z"
},
"current_draft_version": {
"id": "12345678-1234-1234-1234-123456789012",
"persona_id": "12345678-1234-1234-1234-123456789012",
"version_type": "draft",
"version_number": 2,
"orchestration_prompt": null,
"personality_prompt": "You are a helpful assistant",
"pathway_conditions": null,
"kb_ids": [],
"call_config": null,
"default_tools": [],
"promoted_from_version_id": "12345678-1234-1234-1234-123456789012",
"promoted_at": null,
"promoted_by": null,
"created_at": "2025-09-23T15:13:36.390Z",
"updated_at": "2025-09-23T15:13:36.390Z"
},
"inbound_numbers": []
},
"errors": null
}
Was this page helpful?