Create visitor session
POST/v1/widgets/:widget_id/sessions
Creates a session token for one visitor of a widget. Call it from your backend and hand the token to the widget on your page.
Calling it again with the same external_user_id returns a session for the same visitor, so an unfinished assessment resumes.
Request
Responses
- 200
- 422
Successful Response
Validation Error