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 response. Default is no timeout.
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,
"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
}