Developers

Search the docs

Search guides and headings.

List the open times of a service

GET/care/v1/specialist/{specialist_id}/service/{service_id}/availability/query/documents
Scope: specialist:read

Returns the times a patient can still book for one service of a specialist, earliest first, in UTC. Pass one of these times as the start of a booking. Needs no patient and no business associate agreement.

The range must start before it ends and be at most 31 days long, otherwise the answer is 422 invalid_time_range. A from in the past is moved up to the present, and the answer says the range that was searched. Answers 409 service_not_bookable when the service cannot be booked online, for example a service delivered in person, and 404 when the specialist does not exist, is not live yet, is hidden or was retired.

Needs the specialist:read scope.

Path parameters

  • specialist_idstring (uuid)required

    The ID of the specialist.

  • service_idstringrequired

    The ID of the service.

    Min length 1 · Max length 200 · Pattern ^[A-Za-z0-9_-][A-Za-z0-9._-]{0,199}$

Query parameters

  • fromstring (date-time)required

    The start of the range, with a UTC offset, for example 2026-06-01T00:00:00Z.

  • tostring (date-time)required

    The end of the range, with a UTC offset. At most 31 days after from.

Response 200

  • duration_in_minutesintegerrequired

    The length of the visit in minutes.

  • end_timestring (date-time)required

    The end of the range that was searched, in UTC.

  • service_idstringrequired

    The ID of the service.

  • slotsarray of AvailabilitySlot

    The open times in the range, earliest first.

    Show child attributesHide child attributes
    • end_timestring (date-time)required

      When the visit would end, in UTC.

    • start_timestring (date-time)required

      When the visit would start, in UTC.

  • specialist_idstringrequired

    The ID of the specialist.

  • start_timestring (date-time)required

    The start of the range that was searched, in UTC. A start in the past is moved up to the present.

Errors

Every error has this shape. Branch on code, not on message. request_id equals the X-Request-Id response header.

jsonError response
{
  "error": {
    "code": "not_found",
    "message": "The object does not exist.",
    "request_id": "req_0123456789abcdef0123456789abcdef"
  }
}
StatusCodeMeaning
401invalid_api_keyThe API key is missing or not valid.
403company_archivedThis company is archived.
403company_not_liveThe company must be live to use prod keys.
403company_suspendedThis company is suspended.
403scope_not_grantedThis API key does not have the specialist:read scope.
404not_foundThe requested resource was not found.
409service_not_bookableThis service cannot be booked online right now.
422invalid_time_rangeThe range must end after it starts and be at most 31 days long.
422validation_errorquery.from: Field required
429rate_limitedToo many requests. Wait before calling again.
500internal_errorSomething went wrong on our side. Please try again later.
502upstream_errorA Nurish'd service could not complete the request.
503upstream_unavailableA Nurish'd service is unavailable. Please try again later.
504upstream_timeoutA Nurish'd service did not answer in time. Please try again.

All error codes and what to do about them