Profile

Get the Profile of the current user

Get current profile

GET https://api.petje.af/v1/users/me

This endpoint allows you to get the profile of the authenticated user. Scope: profile.read

Headers

NameTypeDescription

Authorization

string

Access token using the Bearer method

{
    "resource": "users",
    "id": "USER ID",
    "name": "John Doe",
    "email": "johndoe@petje.af",
    "_links": {
        "self": {
            "href": "https://api.petje.af/users/me",
            "type": "application/hal+json"
        }
    }
}

Last updated