Skip to main content
GET
/
projects
/
{projectId}
/
customers
/
{customerId}
/
users
List users for a customer
curl --request GET \
  --url https://api.console.corti.app/functions/v1/public/projects/{projectId}/customers/{customerId}/users \
  --header 'Authorization: Bearer <token>'
{
  "users": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "email": "user@example.com",
      "firstName": "John",
      "lastName": "Doe",
      "emailVerified": true,
      "enabled": true,
      "createdAt": "2023-10-01T12:00:00Z"
    }
  ],
  "pagination": {
    "page": 123,
    "pageSize": 123,
    "total": 123
  }
}

Authorizations

Authorization
string
header
required

JWT access token obtained from the /auth/token endpoint

Path Parameters

projectId
string
required

The unique identifier for a console project

Example:

"consoleproject"

customerId
string
required

The unique identifier for a Customer

Example:

"contosohospital"

Query Parameters

page
integer
default:1

Page number for pagination

Required range: x >= 1
pageSize
integer
default:20

Number of users per page

Required range: x >= 1

Response

List of users retrieved successfully

users
object[]
required
pagination
object
required
I