Skip to main content
GET
/
v1
/
users
/
me
Retrieve user
curl --request GET \
  --url https://api.turbofiles.io/v1/users/me \
  --header 'Authorization: Bearer <token>'
{
  "jsonapi": {
    "version": "1.1"
  },
  "data": {
    "type": "users",
    "id": "1",
    "attributes": {
      "email": "<string>",
      "name": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    },
    "links": {
      "self": "<string>"
    }
  },
  "links": {
    "self": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Authentication token must be provided in the Authorization header using the Bearer scheme. Example: Authorization: Bearer your-api-key-or-token

Response

200 - application/vnd.api+json

Retrieved successfully

jsonapi
object
required
data
object
required