Get Widget Threads
Widgets
Get Widget Threads
Retrieves all conversation threads for a specific widget. Returns threads ordered by creation date (newest first) with associated messages ordered chronologically.
GET
Get Widget Threads
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.
Headers
Your API key for authentication.
Path Parameters
UUID of the widget to retrieve threads for.
Query Parameters
Page number for pagination (minimum 1).
Number of threads per page (minimum 1, maximum 100).
Filter results to a specific thread by its UUID.
Response
HTTP status code (200 for success).
threads(array): Array of thread objects, each containing:id(string): Thread UUIDcreated_at(string): ISO timestampended_at(string | null): ISO timestamp of when the thread endedlive_agent_handoff_at(string | null): ISO timestamp of when the thread was handed off to a live agentvisitor_id(string | null): UUID of visitor (if available)messages(array): Array of message objects, each containing:id(string): Message UUIDsender_type(string): Either “USER” or “ASSISTANT”created_at(string): ISO timestampcontent(string): Message contentoriginal_content(string | null): Original message content before any modifications
total(number): Total number of threads matching the query (useful for calculating total pages)
This endpoint does not return 404 if no threads exist; it returns an empty array instead.
Docs for agents: llms.txt