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

Login Copy

Developing
POST
/group/create
Validates user credentials and returns authentication tokens upon success.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
  "name": "Tech Group",
  "description": "A group for tech enthusiasts",
  "isPrivate": true,
  "avatar": "https://example.com/avatar.png"
}

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/group/create' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "name": "Tech Group",
  "description": "A group for tech enthusiasts",
  "isPrivate": true,
  "avatar": "https://example.com/avatar.png"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "status": "success",
    "code": 200,
    "message": "Logged in",
    "data": {
        "accessToken": "some_token",
        "refreshToken": "some_refresh_token"
    }
}
Modified at 2025-02-27 16:13:16
Previous
RefreshToken
Next
Login Copy Copy
Built with