Skip to main content
Use this endpoint to finish authenticating a participant profile when the organizer setting tests_auth_required is true. It exchanges the draft_token from POST /record/{token}/auth/ plus the SMS code the participant received for the final profile.
Only call this endpoint when tests_auth_required is true on the record. If the setting is disabled, the auth call already returns the profile and this endpoint returns a 400 error.

Endpoint

Headers

Path parameters

string
required
The UUID token of the test record.

Body parameters

string
required
The draft_token returned by POST /record/{token}/auth/. Valid for 5 minutes.
string
required
The SMS verification code the participant received on their mobile number.

Response

boolean
Echoes the organizer setting. Always true when this endpoint succeeds.
object
The authenticated profile with token, external_id, case_number, mobile, name, age, birth, and is_male.

Example request

Example response

Error responses