Skip to main content
GET
/
admin
/
services
/
list
List Services
curl --request GET \
  --url https://api.decodahealth.com/admin/services/list \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
[
  {
    "id": "<string>",
    "duration": 123,
    "name": "<string>",
    "color": "<string>",
    "bookingFee": 123,
    "numBookings": 123,
    "locationIds": [
      "<string>"
    ],
    "description": "<string>",
    "price": 123,
    "displayPrice": 123,
    "costOfService": 0,
    "estimated": false,
    "bookingFeeText": "<string>",
    "reminderDaysBefore": 1,
    "cancellationCost": 0,
    "hoursBeforeCancellingCosts": 0,
    "bookingFeePercentage": 123,
    "cancellationFeePctWithin24h": 123,
    "cancellationFeePctWithin48h": 123,
    "refundBookingFeeBefore48h": false,
    "hoursBeforeBookingFeeRefundable": 123,
    "followUpDaysAfter": 0,
    "followUpSmsTemplate": "<string>",
    "providerIds": [
      "<string>"
    ],
    "forms": [
      {
        "id": "<string>",
        "name": "<string>",
        "pathName": "<string>"
      }
    ],
    "createdDate": "2023-11-07T05:31:56Z",
    "updatedDate": "2023-11-07T05:31:56Z",
    "confirmationSmsTemplate": "<string>",
    "cancellationSmsTemplate": "<string>",
    "noShowSmsTemplate": "<string>",
    "overrideNoticeSmsTemplate": "<string>",
    "reminderSmsTemplate": "<string>",
    "selfSchedulingBufferTime": 123,
    "visibility": "ALL",
    "minutesBeforeRebookingAllowed": 123,
    "allowIndividualProviderBooking": true,
    "displayOrder": 0,
    "reservedTimeMinutes": 123,
    "category": "<string>",
    "isDoubleBookable": true,
    "isPopular": false,
    "creditCardRequired": false,
    "collectCreditCard": false,
    "autoGfeTreatments": [
      "<string>"
    ],
    "brandName": "<string>",
    "unit": "AMPOULES",
    "internalNotes": "<string>",
    "sortOrder": 123,
    "taxable": false,
    "allowCustomPricing": false
  }
]

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Response

200 - application/json

Successful Response

id
string
required
duration
integer
required
name
string
required
color
string
required
bookingFee
integer
required
numBookings
integer
required
locationIds
string[] | null
description
string | null
price
integer | null
displayPrice
integer | null
costOfService
integer
default:0
estimated
boolean | null
default:false
bookingFeeText
string | null
reminderDaysBefore
integer | null
default:1
cancellationCost
integer | null
default:0
hoursBeforeCancellingCosts
integer | null
default:0
bookingFeePercentage
integer | null
cancellationFeePctWithin24h
integer | null
cancellationFeePctWithin48h
integer | null
refundBookingFeeBefore48h
boolean | null
default:false
hoursBeforeBookingFeeRefundable
integer | null
followUpDaysAfter
integer | null
default:0
followUpSmsTemplate
string | null
providerIds
string[] | null
forms
FormTiny · object[] | null
createdDate
string<date-time> | null
updatedDate
string<date-time> | null
confirmationSmsTemplate
string | null
cancellationSmsTemplate
string | null
noShowSmsTemplate
string | null
overrideNoticeSmsTemplate
string | null
reminderSmsTemplate
string | null
selfSchedulingBufferTime
integer | null
visibility
enum<string>
default:ALL
Available options:
ALL,
NEW,
EXISTING,
NO
minutesBeforeRebookingAllowed
integer | null
allowIndividualProviderBooking
boolean | null
displayOrder
integer | null
default:0
reservedTimeMinutes
integer | null
category
string | null
isDoubleBookable
boolean | null
default:true
creditCardRequired
boolean | null
default:false
collectCreditCard
boolean | null
default:false
autoGfeTreatments
string[] | null
brandName
string | null
unit
enum<string> | null
Available options:
AMPOULES,
APPLICATORS,
BOTTLES,
BOXES,
CAPSULES,
CUPS,
DOSES,
G_PER_ML,
GRAMS,
IU,
IU_PER_ML,
OUNCES,
FLUID_OUNCES,
KG,
KITS,
LITERS,
MCG,
MG,
MG_PER_ML,
ML,
MMOL,
MICROGRAM_PER_ML,
PACKS,
PAIRS,
PATCHES,
PERCENTAGE,
PIECES,
POUCHES,
ROLLS,
SACHETS,
SHEETS,
SPRAYS,
STRIPS,
SYRINGES,
TABLETS,
TABLETS_PER_DAY,
TESTS,
TUBES,
UNITS,
VIALS,
TREATMENTS,
SESSIONS,
PULSES,
JOULES,
CENTIMETERS,
THREAD_COUNT,
INJECTIONS,
WRINKLE_UNITS,
POUNDS,
FEET,
INCHES
internalNotes
string | null
sortOrder
integer | null
taxable
boolean | null
default:false
allowCustomPricing
boolean | null
default:false