Get the current user

GET /v1/users/me

Returns information about the current user.

Headers

Responses

  • 200 application/json

    User information

    Hide response attributes Show response attributes object
    • name string

      The name of the user

    • email string(email)

      The email address

    • id string Required

      The ID of the user

      Minimum length is 1.

    • linkedAccounts array[object]
      Hide linkedAccounts attributes Show linkedAccounts attributes object
      • accountID string Required

        The account ID

      • accountType string Required

        The account type

        Values are discord, telegram, or embed.

GET /v1/users/me
curl \
 --request GET 'https://api.sensay.io/v1/users/me' \
 --header "X-ORGANIZATION-SECRET: $API_KEY" \
 --header "X-USER-ID: $API_KEY" \
 --header "X-API-Version: 2025-03-25"
Response examples (200)
{
  "name": "John Doe",
  "email": "user@example.com",
  "id": "johndoe",
  "linkedAccounts": [
    {
      "accountID": "string",
      "accountType": "discord"
    }
  ]
}