AuthnAuthzAPI
  1. Authentication
  • Overview
  • Authentication
    • Register a new user
      POST
    • Verify email address
      POST
  1. Authentication

Register a new user

Developing
POST
/auth/register
Create a new user account with email and password authentication.

Request

Body Params application/jsonRequired

Examples

Responses

🟢201User created
application/json
Body

🟠400Validation error
🟠409Email already exists
🔴500Internal server error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:3000/api/v1/auth/register' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Heidi Kunze",
    "email": "eddie_blanda@yahoo.com",
    "password": "7ZQlqKRKqLooXmZ"
}'
Response Response Example
201 - Example 1
{
    "status": "string",
    "message": "string",
    "data": {
        "id": "string",
        "name": "string",
        "email": "string",
        "email_verified": true,
        "email_verified_at": "2019-08-24T14:15:22.123Z",
        "created_at": "2019-08-24T14:15:22.123Z",
        "updated_at": "2019-08-24T14:15:22.123Z"
    }
}
Modified at 2026-03-01 03:53:31
Previous
Overview
Next
Verify email address
Built with