Skip to main content
GET
Returns the active clinics in your partner account, newest first unless you choose another sort. Deleted and deactivated clinics aren’t included. Requires a partner key whose creator is the partner account owner or a Tenant Admin. See Authentication.

Headers

string
required
Bearer followed by your partner key, for example Bearer sk-….

Query parameters

integer
default:"1"
Page number, starting at 1. Must be a whole number of 1 or more. A page past the end returns an empty organizations array.
integer
default:"10"
Clinics per page. A whole number from 1 to 100.
string
default:"-createdAt"
Sort order. One of:
  • -createdAt: newest first (default)
  • createdAt: oldest first
  • name: name, A to Z
  • -name: name, Z to A
Returns only clinics whose name contains this text. The match ignores upper and lower case.

Response

array
The clinics on this page.
object
Paging information.

Errors

A sort value that isn’t in the list above currently returns 500 with the generic message, not 400. Only send the four values listed.
See Errors for the full list.