Onsched Consumer
OnSched Consumer is an appointment scheduling API for letting customers search availability and book appointments.
- Base URL:
https://sandbox-api.onsched.com - Auth: OAuth 2.0 client-credentials — the tool fetches a token from
https://sandbox-identity.onsched.com/connect/tokenusing yourclientId/clientSecret, then calls the API.
Operations
get_consumer_v1_appointments— GET /consumer/v1/appointments — Get Appointmentsget_consumer_v1_appointments_bookingfields— GET /consumer/v1/appointments/bookingfields — Get Custom Fields Labelsget_consumer_v1_appointments_customfields— GET /consumer/v1/appointments/customfields — Get Custom Fields Listget_consumer_v1_appointments_id— GET /consumer/v1/appointments/{id} — Get Appointmentget_consumer_v1_availability_serviceid_startdate— GET /consumer/v1/availability/{serviceId}/{startDate}/{endDate} — Get Available Timesget_consumer_v1_customers— GET /consumer/v1/customers — List Customers
Inputs
clientId/clientSecret— your onsched-consumer OAuth app credentialsscope— OAuth scopes (optional; defaults from the spec)operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_consumer_v1_appointments
clientId: <your client id>
clientSecret: <your client secret>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
clientId |
string | yes | — | OAuth client ID for onsched-consumer. |
clientSecret |
string | yes | — | OAuth client secret for onsched-consumer. |
operation |
string | yes | — | One of: get_consumer_v1_appointments, get_consumer_v1_appointments_bookingfields, get_consumer_v1_appointments_customfields, get_consumer_v1_appointments_id, get_consumer_v1_availability_serviceid_startdate, get_consumer_v1_customers |
scope |
string | no | OnSchedApi distance |
OAuth scopes (space-separated); default from the spec. |
endDate |
string | no | — | Path parameter endDate (required by some operations). |
id |
string | no | — | Path parameter id (required by some operations). |
serviceId |
string | no | — | Path parameter serviceId (required by some operations). |
startDate |
string | no | — | Path parameter startDate (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |