Skip to main content
GET
/
practitioners
/
{practitioner}
cURL
curl --request GET \
  --url https://api.caspen.com/v1/practitioners/{practitioner}
{
  "id": "<string>",
  "online_booking": true,
  "service_ids": [
    "<string>"
  ],
  "location_ids": [
    "<string>"
  ],
  "provider_numbers": [
    {
      "id": "<string>",
      "location_id": "<string>",
      "type": "<string>",
      "number": "<string>"
    }
  ],
  "created_at": "<string>"
}

Path Parameters

practitioner
string
required

The practitioner ID

Response

PractitionerResource

id
string

The practitioner's unique identifier.

Example:

"pra_01HQFQ9QWTNNPY58FZ8CB3FWWK"

online_booking
boolean | null

Whether online booking is enabled for this practitioner.

Example:

true

service_ids
string[]

The IDs of services provided by this practitioner.

Example:
[
"ser_01HYHYQHA682J0K1RW7B2HVA9F",
"ser_01HYHYW37MTYJPMT5JV4RN99GK"
]
location_ids
string[]

The IDs of locations where this practitioner works.

Example:
[
"loc_01HYHYQHA682J0K1RW7B2HVA9F",
"loc_01HYHYW37MTYJPMT5JV4RN99GK"
]
provider_numbers
object[]

The practitioner's provider numbers for different locations.

Example:
[
{
"id": "prn_01HQR12PABCD1234EFGH56789",
"location_id": "loc_01HQFQ9QWTNNPY58FZ8CB3FWWK",
"type": "medicare",
"number": "123456A"
}
]
created_at
string

The timestamp when the practitioner was created (ISO 8601).

Example:

"2024-01-01T12:00:00Z"