Developers

Search the docs

Search guides and headings.

List the services of a specialist

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

Returns a page of the services of one specialist that you can book. Services that are not live yet or that were retired are never listed. Answers 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.

Query parameters

  • pageinteger

    The page number, from 1.

    Minimum 1 · Default 1

  • sizeinteger

    The page size, at most 50.

    Minimum 1 · Maximum 50 · Default 10

Response 200

  • dataarray of Servicerequired

    The services of the page.

    Show child attributesHide child attributes
    • accepted_insurance_providersarray of string

      The insurance providers accepted for the service.

    • is_insurance_acceptedbooleanrequired

      Whether insurance is accepted for the service. Insurance cannot be used for a booking made through this API.

    • service_currencystringrequired

      The currency of the price: USD or CAD.

    • service_descriptionstringnullable

      The description of the service.

    • service_duration_in_minutesintegerrequired

      The length of the visit in minutes.

    • service_idstringrequired

      The ID of the service.

    • service_image_urlstringnullable

      The URL of an image of the service.

    • service_mode_of_deliveryenumrequired

      How the visit is delivered: In Person or Virtual.

      • In Person
      • Virtual
    • service_namestringrequired

      The name of the service.

    • service_price_in_centsintegerrequired

      The price in cents.

    • specialiststringrequired

      The ID of the specialist who offers it.

  • has_nextbooleanrequired

    Whether the data has a next page or not

  • has_previousbooleanrequired

    Whether the data has a previous page or not

  • pageintegerrequired

    The page number of the data

  • sizeintegerrequired

    The size of the data

  • totalintegerrequired

    The total number of data

  • total_pagesintegerrequired

    The total number of pages

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.
422validation_errorquery.size: Input should be less than or equal to 50
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