Me Operations API

This API allows users to retrieve information about their authenticated identity using the /me endpoint.

(Add all attributes from Reference - detail meaning)

ServerCopied!

Base URL: https://localhost/api/v1
Environment: Local

AuthenticationCopied!

All requests require API key authentication using a Bearer Token.

  • Auth Type: api_key

  • Header Format:

Authorization: Bearer YOUR_SECRET_TOKEN

Endpoint: Get Authenticated User InfoCopied!

GET /me

Retrieves information about the user making the authenticated request.

Request

  • Method: GET

  • Endpoint: /me

  • Headers:

Authorization: Bearer YOUR_SECRET_TOKEN

Response

  • Status Code: 200 OK see Reference LINK

  • Content-Type: application/json

  • Response Body Example:

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "username": "johndoe",
  "email": "john.doe@example.com",
  "full_name": "John Doe",
  "roles": ["admin", "editor"],
  "org_id": "987e6543-e21b-43f7-a321-876543210000",
  "created_at": "2025-04-29T03:49:12.123Z"
}

Example (Curl)

curl 'https://localhost/api/v1/me' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'

Client LibrariesCopied!

Currently supported:

  • Curl (Shell)

Attributes

List from Jonathan’s References

NotesCopied!

  • Ensure your local server (https://localhost) is running and accessible.

  • Replace YOUR_SECRET_TOKEN with a valid API key/token issued by the system.

  • The /me endpoint is a great tool for testing authentication and verifying identity without needing a specific user ID.