> For the complete documentation index, see [llms.txt](https://docs.petje.af/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.petje.af/petje.af-api/reference/profile.md).

# Profile

## Get current profile

<mark style="color:blue;">`GET`</mark> `https://api.petjeaf.com/v1/users/me`

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

#### Headers

| Name          | Type   | Description                            |
| ------------- | ------ | -------------------------------------- |
| Authorization | string | Access token using the `Bearer` method |

{% tabs %}
{% tab title="200 " %}

```
{
    "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"
        }
    }
}
```

{% endtab %}
{% endtabs %}
