Get full identity for the currently logged in user

GET /user

Get full identity for the currently logged in user

Responses

  • OK

    Hide response attributes Show response attributes object
    • id string Required

      OAuth provider User ID

    • name string Required

      Username (or First Name)

    • avatar string(url) Required

      URL to avatar

    • provider string Required

      Values are google or discord.

  • Not logged in

GET /user
curl \
 -X GET https://pomu.app/api/user
Response examples (200)
{
  "id": "string",
  "name": "string",
  "avatar": "string",
  "provider": "google"
}
Response examples (200)
{
  "id": "string",
  "name": "string",
  "avatar": "string",
  "provider": "google"
}