Skip to main content
POST
Sign Up
Register a new user by providing required credentials and optional profile data. Returns access and refresh tokens along with user data.

Body Parameters

string
required
User’s email address
string
required
User’s password
string
Full name of the user
string
Unique username (will be automatically lowercased)
string
URL to the user’s avatar image
string
Short biography or description
object
Geolocation object with longitude and latitude properties
string
User’s birthdate in ISO 8601 format
object
Custom public metadata that will be returned in API responses
object
Custom secure metadata (not returned to client, server-side only)

Response

boolean
Indicates whether the registration was successful
string
JWT access token for authenticating API requests
string
JWT refresh token for obtaining new access tokens
User Object
The newly created user object

Error Responses


Notes

  • Sets an HttpOnly cookie named replyke-refresh-jwt with the refresh token.
  • Access token is returned in the response body.
  • Sensitive user data is excluded in the response.
  • A webhook is called before user creation to allow project-specific validation.