Skip to main content
GET
/
workspaceManagement
/
users
/
{uuid}
Get user
curl --request GET \
  --url https://api.getcargo.io/v1/workspaceManagement/users/{uuid} \
  --header 'Authorization: Bearer <token>'
{
  "user": {
    "uuid": "<string>",
    "email": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "picture": "<string>",
    "lastSignInAt": "<string>",
    "createdAt": "<string>",
    "workspaceUuid": "<string>",
    "permissions": [
      {
        "effect": "allow",
        "resources": [
          "<string>"
        ],
        "actions": [
          "ai:agent:*"
        ]
      }
    ],
    "role": {
      "uuid": "<string>",
      "slug": "<string>",
      "permissions": [
        {
          "effect": "allow",
          "resources": [
            "<string>"
          ],
          "actions": [
            "ai:agent:*"
          ]
        }
      ],
      "workspaceUuid": "<string>",
      "createdAt": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

uuid
string
required

Resource UUID

Response

Successful response

user
object
required