text-ai
text_sessions

Get Text Session

Changed on

Get a text session with its full message history.

get/api/v1/text-ai/text-sessions/{session_id}

Request

  • Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.getanana.com/api/v1/text-ai/text-sessions/{session_id}
  • Auth: none declared

Path parameters

session_idstring uuid required

Response

Successful Response

idstring uuid required
tenant_idstring uuid required
text_agent_idstring uuid nullable required
text_widget_group_idstring uuid nullable required
statusstring required
visitor_namestring nullable required
visitor_emailstring nullable required
visitor_phonestring nullable required
customer_profile_idstring uuid nullable required
langgraph_thread_idstring nullable required
summarystring nullable required
message_countinteger required
started_atstring date-time nullable required
ended_atstring date-time nullable required
end_reason'idle_timeout' | 'visitor_ended' | 'operator_ended' required

Why a text session ended.

customer_contextobject nullable required
session_metadataobject nullable required
created_atstring date-time required
updated_atstring date-time required
handoff_statusstring nullable required
handoff_providerstring nullable required
handoff_metadataobject nullable required
handed_off_atstring date-time nullable required
is_newboolean required
email_verifiedboolean required
review_statusstring required
booking_madeboolean nullable
booking_value_centsinteger nullable
outcome_agent_refstring nullable
booking_outcome_set_by_user_idstring uuid nullable
booking_outcome_set_atstring date-time nullable
primary_property_idstring uuid nullable
channelstring
last_message_atstring date-time nullable
has_earlier_messagesboolean required
display_timezonestring required

Changes

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status