cURL
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
profile:read
Your OFAuth API key for authenticating requests.
Requires a connection via the x-connection-id header.
Successful response
true
false
Was this page helpful?