GET
/
v1
/
users
/
info
Get current user information
curl --request GET \
  --url https://api.app.chainloop.dev/v1/users/info \
  --header 'Authorization: Bearer <token>'
{
  "user": {
    "intercom_hash": "intercom_hash",
    "created_at": "2000-01-23T04:56:07.000Z",
    "last_name": "last_name",
    "id": "id",
    "first_name": "first_name",
    "email": "email"
  },
  "memberships": [
    {
      "role": "MEMBERSHIP_ROLE_UNSPECIFIED",
      "resource_type": "MEMBERSHIP_RESOURCE_TYPE_UNSPECIFIED",
      "resource_id": "resource_id"
    },
    {
      "role": "MEMBERSHIP_ROLE_UNSPECIFIED",
      "resource_type": "MEMBERSHIP_RESOURCE_TYPE_UNSPECIFIED",
      "resource_id": "resource_id"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer token for authentication

Response

200
application/json

A successful response.

Response containing information about the current authenticated user and their memberships.