Get the authenticated account

​

Returns the account the token belongs to, along with the scope and type of the token itself. Use it to verify a token and identify its owner without reading any library data.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/me
curl https://stage-api.paperpile.com/v1/me \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "user_id": "a8c4e2f1-7b3d-4e69-9f15-d6a2b8c03e47",
  "email": "marie.curie@example.com",
  "scope": "read_write",
  "key_type": "oauth2"
}