POST
/v1/auth/enchantedlink/verify
Verify Enchanted Link token from user
Verify that the enchanted link token in the URL clicked by the end user matches and has not expired. This endpoint completes the enchanted link flow for:
- sign up
- sign-in
- sign-in with auto sign-up
- Update data
Next Steps
Poll for the successful completion of the token verification using the Poll Session endpoint, providing the pendingRef
returned by the this endpoint.
The response object will be empty when this endpoint completes successfully. The session information will be returned by the the Poll Session endpoint.
See Also
- See Enchanted link Authentication for details about implementing enchanted links.
- See The User Object for further details on how to identify users and their contact information such as email addresses and phone number.
Endpoint Authentication
Use authorization bearer header with the following format:
Authorization: Bearer \<Project ID\>
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
token
string
pkceVerifier
string
Format: "bytes"
Status code | Description |
---|---|
200 | OK |
Was this helpful?