solarOS Organization API

Organization API

List Service Appointments

Lists Service Appointments tied to public API-accessible project-contained Work Orders. Supports Work Order, status, Team Member, and interval-overlap filters. Required scope: service_appointments:read.

/api/v1/service-appointments

Lists Service Appointments tied to public API-accessible project-contained Work Orders. Supports Work Order, status, Team Member, and interval-overlap filters. Required scope: service_appointments:read.

List Service Appointments. Use an organization API key with service_appointments:read. Check the response envelope and meta.requestId before triggering dependent workflow steps.

Required scopes

service_appointments:read

Parameters

NameInTypeDescription
limitqueryintegerMaximum records to return. Defaults to 50 and is capped at 100.
cursorquerystringOpaque record cursor from the previous response meta.nextCursor value.
sortDirqueryasc | descSort direction. Defaults to desc.
workOrderIdquerystringFilter by containing Work Order id.
statusquerySCHEDULED | DISPATCHED | EN_ROUTE | IN_PROGRESS | COMPLETED | CANCELLED | CANNOT_COMPLETEFilter by exact operational status.
teamMemberIdquerystringFilter to appointments assigned to this Team Member.
dateStartquerystringISO date-time lower bound. Returns appointments whose scheduled interval ends after this instant.
dateEndquerystringISO date-time upper bound. Returns appointments whose scheduled interval starts before this instant.

Request body

This endpoint does not accept a JSON request body.

Responses

200

Service Appointment list envelope

#/components/schemas/OrgApiListEnvelope

401

Missing or invalid organization API key

#/components/schemas/OrgApiError

402

Organization billing access or an endpoint-specific business quota denied the request

#/components/schemas/OrgApiError

403

Missing required scope: service_appointments:read

#/components/schemas/OrgApiError

429

Rate limit exceeded

#/components/schemas/OrgApiError

Errors

401 Missing or invalid organization API key402 Organization billing access or an endpoint-specific business quota denied the request403 Missing required scope: service_appointments:read429 Rate limit exceeded

Static examples

curl -X GET "$SOLAROS_BASE_URL/api/v1/service-appointments" \
  -H "Authorization: Bearer $SOLAROS_API_KEY"