text-widget-public

Create Widget Session

Changed on

Create a new text chat session for a widget visitor.

post/api/v1/public/text-widget/sessions

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/public/text-widget/sessions
  • Auth: none declared

Query parameters

keystring nullable

Headers

X-Widget-Keystring nullable

Request body

visitor_namestring nullable
visitor_emailstring nullable
visitor_phonestring nullable
text_agent_idstring uuid nullable
consent_givenboolean
consent_versionstring nullable

Response

Successful Response

session_idstring uuid required
session_tokenstring required
greeting_messagestring nullable required

Changes

    • info

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

    • info

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