curl --request POST \
--url https://api.bland.ai/v1/personas/{persona_id}/inbound/attach \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '
{
"inbound_numbers": [
"<string>"
]
}
'{
"data": {
"id": "12345678-1234-1234-1234-123456789012",
"name": "Support Agent",
"user_id": "12345678-1234-1234-1234-123456789012",
"inbound_numbers": [
{
"phone_number": "+14155551234",
"label": "Support Line",
"persona_id": "12345678-1234-1234-1234-123456789012",
"persona_settings": null
},
{
"phone_number": "+14155555678",
"label": null,
"persona_id": "12345678-1234-1234-1234-123456789012",
"persona_settings": null
}
],
"created_at": "2025-09-23T15:13:36.348Z",
"updated_at": "2025-09-23T15:13:36.412Z"
},
"errors": null
}
Attach one or more inbound phone numbers to a persona. The same endpoint handles voice, SMS, and WhatsApp numbers — channel capability is determined by the number’s own configuration, not by this call.
curl --request POST \
--url https://api.bland.ai/v1/personas/{persona_id}/inbound/attach \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '
{
"inbound_numbers": [
"<string>"
]
}
'{
"data": {
"id": "12345678-1234-1234-1234-123456789012",
"name": "Support Agent",
"user_id": "12345678-1234-1234-1234-123456789012",
"inbound_numbers": [
{
"phone_number": "+14155551234",
"label": "Support Line",
"persona_id": "12345678-1234-1234-1234-123456789012",
"persona_settings": null
},
{
"phone_number": "+14155555678",
"label": null,
"persona_id": "12345678-1234-1234-1234-123456789012",
"persona_settings": null
}
],
"created_at": "2025-09-23T15:13:36.348Z",
"updated_at": "2025-09-23T15:13:36.412Z"
},
"errors": null
}
Show persona object
null on success, or a list of error objects if the request failed.{
"data": {
"id": "12345678-1234-1234-1234-123456789012",
"name": "Support Agent",
"user_id": "12345678-1234-1234-1234-123456789012",
"inbound_numbers": [
{
"phone_number": "+14155551234",
"label": "Support Line",
"persona_id": "12345678-1234-1234-1234-123456789012",
"persona_settings": null
},
{
"phone_number": "+14155555678",
"label": null,
"persona_id": "12345678-1234-1234-1234-123456789012",
"persona_settings": null
}
],
"created_at": "2025-09-23T15:13:36.348Z",
"updated_at": "2025-09-23T15:13:36.412Z"
},
"errors": null
}
Was this page helpful?