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

  • interactionEvent string Required

    Values are SignIn, Register, or ForgotPassword.

  • captchaToken string

Responses

  • 204

    A new experience interaction has been successfully initiated.

  • 400

    Bad Request

  • 422

    Unprocessable Content

PUT /api/experience
curl \
 --request PUT 'https://[tenant_id].logto.app/api/experience' \
 --header "Content-Type: application/json" \
 --data '{"interactionEvent":"SignIn","captchaToken":"string"}'
Request examples
{
  "interactionEvent": "SignIn",
  "captchaToken": "string"
}