https://neptime.io/api.phpEndpoint:
POST /api.php?v=1.0&type=register&platform=mobile{
"Content-Type": "application/json"
}Parameter Type Required Description username string Yes The desired username for the new account. email string Yes The email address for the new account. password string Yes The password for the new account. confirm_password string Yes Confirmation of the password. gender string No The gender of the user (e.g., male or female). Default is male. phone_number string No The phone number of the user. device_id string No The device ID. ref string No Referral username. ref_type string No Referral type. server_key string Yes The server key for API authentication.
{
"username": "your_username",
"email": "[email protected]",
"password": "your_password",
"confirm_password": "your_password",
"gender": "male",
"phone_number": "1234567890",
"device_id": "device12345",
"ref": "referrer_username",
"ref_type": "ref_type",
"server_key": "your_server_key"
}Success (200 OK)
{
"api_status": "200",
"api_version": "1.0",
"success_type": "registered",
"message": "Successfully joined, Please wait..",
"data": {
"user_id": "encrypted_user_id",
"s": "encrypted_session_id",
"cookie": "encrypted_session_id"
}
}Validation Errors (400 Bad Request)
{
"api_status": "400",
"api_version": "1.0",
"errors": {
"error_id": "3",
"error_text": "Please write your username"
}
}User Already Exists (400 Bad Request)
{
"api_status": "400",
"api_version": "1.0",
"errors": {
"error_id": "5",
"error_text": "Username is already exists"
}
}Other Errors
{
"api_status": "500",
"api_version": "1.0",
"errors": {
"error_id": "14",
"error_text": "Error: an unknown error occurred. Please try again later"
}
}curl -X POST "https://neptime.io/api.php?v=1.0&type=register&platform=mobile" \
-H "Content-Type: application/json" \
-d '{
"username": "your_username",
"email": "[email protected]",
"password": "your_password",
"confirm_password": "your_password",
"gender": "male",
"phone_number": "1234567890",
"device_id": "device12345",
"ref": "referrer_username",
"ref_type": "ref_type",
"server_key": "your_server_key"
}'Set the Request Type to POST.
Enter the URL: https://neptime.io/api.php?v=1.0&type=register&platform=mobile.
Set the Header:
Key: Content-Type
Value: application/json
Set the Body to raw and JSON format.
Paste the JSON payload in the Body:
{
"username": "your_username",
"email": "[email protected]",
"password": "your_password",
"confirm_password": "your_password",
"gender": "male",
"phone_number": "1234567890",
"device_id": "device12345",
"ref": "referrer_username",
"ref_type": "ref_type",
"server_key": "your_server_key"
}Error ID Error Text 1 You are already logged in 2 User registration is currently disabled 3 Please write your username 4 Username must be between 5 and 32 characters 5 Username already exists 6 Invalid username characters 7 Please write your email 8 This e-mail is already in use 9 This e-mail is invalid 10 Please write your password 11 Password is too short 12 Please confirm your password 13 Password not match 14 An unknown error occurred. Please try again later
If you have any questions or need further assistance, please contact our support:
Email: [email protected]