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

GetUserId

Developing
GET
/auth/my-id

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

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 GET 'http://0.0.0.0:8080/auth/my-id' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Success
application/json
Body

Example
{
    "status": "success",
    "code": 200,
    "message": "Request processed successfully",
    "data": "2",
    "errors": []
}
Modified at 2025-02-27 16:12:00
Previous
Login
Next
RefreshToken
Built with