Get users
GET/users
Retrieve a list of your organization's Copilot API Users, ordered by creation time.
Request
Query Parameters
The cursor you received in the next_cursor field to fetch the next page.
Possible values: >= 1
and <= 100
The amount of objects to retrieve, between 1 and 100.
Possible values: [ASC
, DESC
]
This flag is used to get results sorted in ascending or descending order.
ASC
Optional filter for activated/deactivated users.
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
required
A unique identifier.
98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6
Always true unless you explicitly deactivate the user.
A unique identifier for the user from another system which is given to Nabla.
Possible values: <= 256 characters
metadata
object
nullable
The creation date of this object, in ISO 8601 format.
2022-03-10T19:16:23.456Z
This is a deprecated feature, you should not have use-cases where you create Nabla email-based accounts for your API users. Please reach out if anything.
This is a deprecated feature, you should not have use-cases where you create users with roles other than practitioner from the API. Please reach out if anything.
Possible values: [ADMINISTRATOR
, PRACTITIONER
]
true
An opaque cursor to fetch the next page of the collection.
{
"data": [
{
"id": "98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6",
"activated": true,
"external_id": "string",
"metadata": {},
"created_at": "2022-03-10T19:16:23.456Z"
}
],
"has_more": true,
"next_cursor": "string"
}