OpenAura
  1. Authentication
OpenAura
  • Authentication
    • Register
      POST
    • Login
      POST
    • GetUserId
      GET
    • RefreshToken
      POST
    • Login Copy
      POST
    • Login Copy Copy
      POST
  • Schemas
    • Authentication
      • Request
        • UserCreationRequest
        • UserAuthRequest
      • Response
        • UserAuthResponse
        • ApiResponse
        • ApiError
  1. Authentication

Register

Developing
POST
/auth/register
Register a new user

Request

Body Params application/json

Example
{
    "username": "sarathexp",
    "password": "Aura@123Asd",
    "email": "Elnora79@yahoo.com",
    "inviteCode": "nisi veniam id laboris"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://0.0.0.0:8080/auth/register' \
--header 'Content-Type: application/json' \
--data-raw '{
    "username": "sarathexp",
    "password": "Aura@123Asd",
    "email": "Elnora79@yahoo.com",
    "inviteCode": "nisi veniam id laboris"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "status": "success",
    "code": 200,
    "message": "User Registered",
    "data": {
        "accessToken": "some_token",
        "refreshToken": "some_refresh_token"
    }
}
Modified at 2025-02-18 20:52:40
Next
Login
Built with