solarOS Organization API

Organization API

List Sales Appointments

Lists same-organization Sales Appointments ordered by start. Filter by hostId, opportunityId, leadId, status, or a start range. Requires Sales scheduling to be turned on for the organization. Required scope: sales_appointments:read.

/api/v1/sales-appointments

Lists same-organization Sales Appointments ordered by start. Filter by hostId, opportunityId, leadId, status, or a start range. Requires Sales scheduling to be turned on for the organization. Required scope: sales_appointments:read.

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

Required scopes

sales_appointments:read

Parameters

NameInTypeDescription
hostIdquerystringOnly appointments this Team Member hosts.
opportunityIdquerystringOnly appointments for this Opportunity.
leadIdquerystringOnly appointments that came from this Lead.
statusquerySCHEDULED | COMPLETED | CANCELLED | NO_SHOWOnly appointments with this status.
startsAfterquerystringOnly appointments starting at or after this ISO 8601 date-time.
startsBeforequerystringOnly appointments starting before this ISO 8601 date-time.
limitqueryintegerMaximum records to return. Defaults to 50 and is capped at 100.
cursorquerystringOpaque record cursor from the previous response meta.nextCursor value.

Request body

This endpoint does not accept a JSON request body.

Responses

200

Sales Appointment list envelope

#/components/schemas/SalesAppointmentListEnvelope

400

A status or date that is not valid

#/components/schemas/OrgApiError

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

Sales scheduling is not turned on for this organization

#/components/schemas/OrgApiError

429

Rate limit exceeded

#/components/schemas/OrgApiError

Errors

400 A status or date that is not valid401 Missing or invalid organization API key402 Organization billing access or an endpoint-specific business quota denied the request403 Sales scheduling is not turned on for this organization429 Rate limit exceeded

Static examples

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