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
}Get current user
Permission Required: profile:read
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
}Requires a connection via the x-connection-id header.
Successful response
Was this page helpful?