Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://our-secret-api-url.com/auth/register \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <x-api-key>' \ --data ' { "name": "<string>", "username": "<string>", "email": "<string>", "phone": "<string>" } '
{ "message": "<string>", "userId": 123 }
Register a new user
API key required for authentication
Name of the user
Username of the user
Email address of the user
Phone number of the user
OTP code successfully sent
Response message
User ID of the newly created or updated user