Users
create user
post/api/register
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/api/register
- Auth: HTTP bearer
Request body
Example request
{
"user": {
"first_name": "John",
"last_name": "Doe",
"email": "newuser@example.com",
"password": "password123",
"password_confirmation": "password123"
}
}Response
successful
Example response
{
"message": "Signed up successfully",
"user": {
"id": 1,
"paid": true,
"is_verified": true,
"account_valid_till": "2025-12-31",
"available_credits": 50,
"full_name": "John Doe",
"email": "john.doe@example.com",
"plan_id": 2,
"plan_name": "Pro Plan",
"total_credits": 100,
"used_credits": 50,
"avatar_letter": "J",
"percentage_credits": 50
}
}Changes
No recorded changes to this operation across all 1 revision of this API.