Skip to main content
POST
/
api
/
widget
/
init
Initialize widget session
curl --request POST \
  --url https://api.g-tateth.com/api/widget/init \
  --header 'Content-Type: application/json' \
  --data '
{
  "tenantDomain": "<string>",
  "customerInfo": {
    "name": "<string>",
    "email": "<string>",
    "phone": "<string>",
    "metadata": {}
  }
}
'
{
  "success": true,
  "data": {
    "sessionId": "<string>",
    "conversationId": "<string>",
    "config": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.g-tateth.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
tenantDomain
string
required

Tenant domain provided by G-tateth

customerInfo
object

Response

200 - application/json

Widget session initialized successfully

success
boolean
data
object