Skip to main content
GET
/
v2
/
access
/
self
Get current user
curl --request GET \
  --url https://api-next.ofauth.com/v2/access/self \
  --header 'apiKey: <api-key>' \
  --header 'x-connection-id: <api-key>'
{
  "id": 123,
  "username": "<string>",
  "name": "<string>",
  "isAuth": true,
  "isVerified": true,
  "avatar": "<string>",
  "subscribersCount": 123,
  "postsCount": 123,
  "photosCount": 123,
  "videosCount": 123
}

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

x-connection-id
string
header
required

Requires a connection via the x-connection-id header.

Response

Successful response

id
number
required
username
string
required
name
string
required
isAuth
enum<boolean>
required
Available options:
true,
false
isVerified
boolean
required
avatar
string | null
required
subscribersCount
number | null
required
postsCount
number
required
photosCount
number
required
videosCount
number
required