For the complete documentation index, see llms.txt. This page is also available as Markdown.

Users API

Manage users over the REST API.

This page covers direct integration with Doc Holiday's API.

All endpoints on this page require authenticated access; see API overview for how to create and send an API key.

GET /api/v1/me

Returns the authenticated user as ModelsGetUserResponse, the same shape used by GET /api/v1/users/{id}.

Parameter
Notes

none

No query or path parameters.

curl -H "Authorization: Bearer <token>" https://api.doc.holiday/api/v1/me
{"id":"string","authId":"string","email":"string","name":"string","sfsToken":"","invitationAccepted":true,"orgId":"string","createdAt":"string","updatedAt":"string"}

Common errors: 400, 500.

GET /api/v1/users

Returns ModelsListUsersResponse for users in the authenticated org, with users, nextPageToken, and previousPageToken.

Parameter
Notes

email

Filter by email.

name

Filter by name.

authId

Filter by auth ID.

query

Free-text search.

roleIds

Filter by role IDs.

noBuiltinRole

Filters to users who hold no builtin role.

invitationAccepted

Filter by invitation state.

shared pagination

Shared pagination fields from the API.

Common errors: 400, 500.

GET /api/v1/users/{id}

Returns one user in ModelsGetUserResponse.

Parameter
Notes

id

Required path parameter.

Common errors: 400, 500.

Last updated

Was this helpful?