Init new interaction

PUT /api/experience

Init a new experience interaction with the given interaction type. Any existing interaction data will be cleared.

application/json

Body Required

Responses

  • A new experience interaction has been successfully initiated.

  • Bad Request

PUT /api/experience
curl \
 -X PUT https://[tenant_id].logto.app/api/experience \
 -H "Content-Type: application/json" \
 -d '{"interactionEvent":"SignIn"}'
Request examples
{
  "interactionEvent": "SignIn"
}