REST endpoints for service types in ServFlo: 4 operations with parameters, request and response fields, permissions and curl examples.
Base URL: https://app.servflo.ai/api. Every call needs Authorization: Bearer sfk_… (Authentication); {organizationId} ($ORGANIZATION_ID in the examples) is your business's id.
Money in integer cents (12500 = 125.00). -100000000–100000000.
color
string
No
onlineBookable
boolean
No
Offered on the public booking form and widgets (default true).
serviceIntervalDays
integer or null
No
How often this service is usually repeated, in days (e.g. 180 for twice a year); used by the "service due" prediction. Null: no usual interval. 1–3650.
defaultBusinessUnitId
string or null
No
The business unit its jobs, requests and quotes default to (GET /business-units); null = none. An inactive or non-bookable unit takes it off the online booking form. Up to 100 characters.
weatherSensitive
boolean
No
Outdoor work that plans around the weather: its jobs show the forecast and the office is alerted when it turns bad (Pro). Omitted on create: set from the name and the trade (e.g. Gutter cleaning).
weatherMaxRainChance
integer or null
No
A visit is BAD at or above this chance of rain (%); null = 50. 0–100.
weatherMaxWindMph
integer or null
No
BAD at or above this wind in mph (gusts count at 75 %); null = 25. 1–150.
weatherMinTempF
integer or null
No
BAD below this temperature (°F); null = no limit. -60–130.
weatherMaxTempF
integer or null
No
BAD above this temperature (°F); null = no limit. -60–140.
Money in integer cents (12500 = 125.00). -100000000–100000000.
color
string
No
onlineBookable
boolean
No
Offered on the public booking form and widgets (default true).
serviceIntervalDays
integer or null
No
How often this service is usually repeated, in days (e.g. 180 for twice a year); used by the "service due" prediction. Null: no usual interval. 1–3650.
defaultBusinessUnitId
string or null
No
The business unit its jobs, requests and quotes default to (GET /business-units); null = none. An inactive or non-bookable unit takes it off the online booking form. Up to 100 characters.
weatherSensitive
boolean
No
Outdoor work that plans around the weather: its jobs show the forecast and the office is alerted when it turns bad (Pro). Omitted on create: set from the name and the trade (e.g. Gutter cleaning).
weatherMaxRainChance
integer or null
No
A visit is BAD at or above this chance of rain (%); null = 50. 0–100.
weatherMaxWindMph
integer or null
No
BAD at or above this wind in mph (gusts count at 75 %); null = 25. 1–150.
weatherMinTempF
integer or null
No
BAD below this temperature (°F); null = no limit. -60–130.
weatherMaxTempF
integer or null
No
BAD above this temperature (°F); null = no limit. -60–140.