Users
Get the authenticated user
Returns the profile of the user owning the access token. Not available to OAuth access tokens (403); an OAuth app reads the user's identity from GET /v1/oauth/userinfo.
get/v1/users/self
Request
- Base URLhttps://api.assinafy.com.br
- URLhttps://api.assinafy.com.br/v1/users/self
- Auth
- HTTP bearer
- or API key in header X-Api-Key
Response
The current user
Example response
{
"status": 200,
"data": {
"id": "bgjazeo5r9v2lq7l36dx48np",
"name": "John Smith",
"email": "example@example.com",
"telephone": "17989206641",
"government_id": "15774136604",
"has_accepted_terms": true,
"created_at": "2023-03-03T11:51:34Z"
}
}Changes
No recorded changes to this operation across all 14 revisions of this API.