POST/v1/preferenceagents/public/{tenantId}/{slug}/conversations

Create public conversations

Not yet documented — no summary in the API source.

RequiresAuthorization: Bearer sk_...tenant_id

Path parameters

tenantIdstringrequired
slugstringrequired

Query parameters

preview_tokenstringdefault

Responses

conversationIdstringnullable
welcomestringnullable
replystringnullable
uiobjectAgentTurnUi
kindstringnullable
fieldstringnullable
optionsarray of objectAgentTurnUiOptionnullable
doneboolean
unsubscribedboolean
redirectUrlstringnullable
capturedobjectnullable
{key}stringnullable
progressobjectAgentTurnProgress
capturedinteger (int32)
totalinteger (int32)
curl --request POST \
  --url 'https://api.4comply.io/v1/preferenceagents/public/your-tenant-id/example-slug/conversations' \
  --header 'Authorization: Bearer sk_...' \
  --header 'tenant_id: your-tenant-id'