Skip to main content
GET
/
workspaceManagement
/
users
/
list
List users
curl --request GET \
  --url https://api.getcargo.io/v1/workspaceManagement/users/list \
  --header 'Authorization: Bearer <token>'
{
  "users": [
    {
      "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.

Response

Successful response

Response body schema.

users
object[]
required