Verify External User
Auth Endpoints
Verify External User
Verify and authenticate a user from an external system using JWT
POST
Verify External User
Verifies a user identity using a signed JWT from an external project. If the user exists, it updates the profile. If not, it creates the user. Returns an access token, refresh token, and user data.Documentation Index
Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
Use this file to discover all available pages before exploring further.
Body Parameters
Signed JWT issued by the external project containing user identity information
Response
Indicates whether the verification was successful
JWT access token for authenticating API requests
JWT refresh token for obtaining new access tokens
The verified or newly created user object
Error Responses
Missing JWT - 400 Bad Request
Missing JWT - 400 Bad Request
Missing Keys - 403 Forbidden
Missing Keys - 403 Forbidden
Invalid Token - 403 Forbidden
Invalid Token - 403 Forbidden
Project Mismatch - 403 Forbidden
Project Mismatch - 403 Forbidden
Unexpected Missing User - 500 Internal Server Error
Unexpected Missing User - 500 Internal Server Error
Server Error - 500 Internal Server Error
Server Error - 500 Internal Server Error
Notes
- The JWT is verified using the current or previous public key associated with the project.
- On success, a secure HttpOnly cookie (
replyke-refresh-jwt) is set. - The user is updated or created based on
foreignIdand optionallyemail. - Response includes tokens and user profile, including suspension info.

