Get-or-create the persistent Experience and invoke engagement_decision.
Returns 202 immediately with experience_id and session_id for polling. The decision is generated asynchronously; poll GET /experiences/{experience_id} until status == COMPLETED to retrieve widget_data.
POST
/v1/admin/orgs/{org_id}/engage
curl \
--request POST 'http://api.example.com/v1/admin/orgs/{org_id}/engage' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"external_customer_id":"string","playbook_id":"string"}'
Request examples
{
"external_customer_id": "string",
"playbook_id": "string"
}
Response examples (202)
{
"experience_id": "string",
"access_token": "string",
"session_id": "string",
"status": "string",
"widget_data": {}
}
Response examples (422)
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"ctx": {}
}
]
}