Documentation Index
Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
Use this file to discover all available pages before exploring further.
Enterprise Feature - SMS is only available on Enterprise plans. Contact your Bland representative for access.
Your API key for authentication.
Body Parameters
The E.164 formatted phone number to update (must belong to the authenticated user).
When the agent sends a response, we’ll send the message details in a POST request to the URL you specify here, along with chat history.
Request data fields are available to the AI agent during the call when referenced in the associated pathway or task.
Maximum time to wait for a user response, in seconds, before the timeout flow fires. Default is no timeout. Can be overridden per-conversation via /v1/sms/send or /v1/sms/create.
What to do when the timeout fires. Allowed values depend on your configuration (e.g. "send_sms" to send timeout_message).
Message sent when the timeout fires. Can be overridden per-conversation via /v1/sms/send or /v1/sms/create.
Seconds to wait before sending the warning message. Must be less than time_out, otherwise the update is rejected. Can be overridden per-conversation via /v1/sms/send or /v1/sms/create.
Message sent at warning_time. Can be overridden per-conversation via /v1/sms/send or /v1/sms/create.
Twilio Messaging Service SID, if set.
Assistant system prompt or conversational goal.
List of tools available to the assistant.
The model’s temperature setting, controlling creativity.
The ID of the linked conversational pathway (if any).
The specific version of the pathway to use.
Entry point node ID for the pathway.
When true, a new conversation is automatically started if the user texts after the current conversation has ended. When false, subsequent messages are stored in the ended conversation without triggering a new reply.
The timezone used for time-based variables in the conversation (e.g. "America/New_York").
Custom prompt used to generate a conversation summary when the conversation ends. When set, an AI-generated summary is included in the status webhook and stored on the conversation.
An array of outcome IDs to run when conversations end on this number. See Outcomes.
An array of citation schema IDs to extract when conversations end on this number. See Citations.
Response
Contains a confirmation message and the updated SMS configuration.
Success message confirming the update.
The updated and sanitized SMS configuration object.
null on success. If an error occurs, this will be an array of error objects.
A human-readable description of the error.
A machine-readable error code.
{
"data": {
"message": "SMS config updated for number +15550001111",
"sms_config": {
"webhook": null,
"request_data": [],
"time_out": null,
"timeout_action": null,
"timeout_message": null,
"warning_time": null,
"warning_message": null,
"messaging_service_sid": null,
"objective": "Chat with the user",
"tools": [],
"temperature": 0,
"pathway_id": null,
"pathway_version": null,
"start_node_id": null,
"restart_after_end_call": true,
"timezone": null,
"summary_prompt": null,
"disposition_ids": null,
"citation_schema_ids": null
}
},
"errors": null
}
Docs for agents: llms.txt