cURL
curl --request POST \ --url https://api.replyke.com/api/v6/:projectId/auth/sign-up \ --header 'Content-Type: application/json' \ --data ' { "email": "<string>", "password": "<string>", "name": "<string>", "username": "<string>", "avatar": "<string>", "bio": "<string>", "location": {}, "birthdate": "<string>", "metadata": {}, "secureMetadata": {} } '
{ "success": true, "accessToken": "<string>", "refreshToken": "<string>", "user": { "id": "<string>", "email": "<string>", "username": "<string>", "name": "<string>", "avatar": "<string>", "bio": "<string>", "location": { "type": "<string>", "coordinates": [ 123 ] }, "birthdate": "<string>", "metadata": {}, "suspensions": [ {} ], "reputation": 123, "createdAt": "<string>", "updatedAt": "<string>" } }
Register a new user with credentials and optional profile data
longitude
latitude
Show properties
Missing Required Fields - 400 Bad Request
{ "error": "Missing required fields", "code": "auth/missing-fields" }
Server Error - 500 Internal Server Error
{ "error": "Internal server error", "code": "auth/server-error", "details": "<Error message>" }
replyke-refresh-jwt