Skip to main content
POST
/
claim
Claim challenge
curl --request POST \
  --url https://api.authsignal.com/v1/claim \
  --header 'Content-Type: application/json' \
  --data '{
  "challengeId": "4deec6f1-034c-437b-95cd-4efc84cbcc52",
  "userId": "4a0acccf-ed27-463c-9357-0eafa3722ef1"
}'
{
  "token": "<string>",
  "verificationMethod": "SMS"
}

Body

application/json
challengeId
string
required

The ID of the challenge.

userId
string
required

The ID of the user.

skipVerificationCheck
boolean

If set to true, the requirement to call Verify Challenge before claiming the challenge on behalf of a user will be skipped. This option may be used in scenarios where an OTP code has been verified independently of Authsignal. It should be used with caution and could introduce security risks if used incorrectly. Defaults to false.

Response

OK

token
string
required

A short-lived token which can be used subsequently in your integration to validate that the challenge was completed successfully by the user.

verificationMethod
enum<string>
required

The verification method used to complete the challenge.

Available options:
SMS,
EMAIL_OTP
I