API Documentation is in beta. Report issues to developers@jump.health
API Reference
Appointment Types

Appointment Types

The Appointment Types API provides access to the service types available for booking. Appointment types define duration, pricing, and booking policies.

Endpoints

MethodEndpointDescription
GET/appointment-typesList all appointment types
GET/appointment-types/{id}Retrieve an appointment type

Required scope: read_appointment_types

The Appointment Type Object

{
  "id": "type_123e4567-e89b-12d3-a456-426614174000",
  "name": "Initial Consultation",
  "description": "First visit with a clinician",
  "duration_minutes": 30,
  "price": 75.00,
  "currency": "GBP",
  "color": "#4CAF50",
  "is_active": true,
  "requires_payment": true,
  "allow_online_booking": true,
  "booking_notice_hours": 24,
  "cancellation_notice_hours": 48,
  "max_group_size": 1,
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-06-15T10:00:00Z"
}

Attributes

FieldTypeDescription
idstringUnique identifier (UUID)
namestringDisplay name
descriptionstringDescription of the service
duration_minutesintegerAppointment length in minutes
pricenumberPrice for the service
currencystringCurrency code (GBP, USD, etc.)
colorstringDisplay color (hex)
is_activebooleanWhether type is available
requires_paymentbooleanPayment required at booking
allow_online_bookingbooleanAvailable for online booking
booking_notice_hoursintegerMinimum hours before appointment
cancellation_notice_hoursintegerMinimum hours for free cancellation
max_group_sizeintegerMaximum attendees (1 = individual)
created_atstringISO 8601 creation timestamp
updated_atstringISO 8601 last update timestamp

List Appointment Types

GET /appointment-types

Query Parameters

ParameterTypeDefaultDescription
limitinteger100Number of records (max 100)
offsetinteger0Pagination offset

Request

curl -X GET "https://app.usejump.co.uk/functions/v1/api-v1/appointment-types" \
  -H "Authorization: Bearer pk_live_your_api_key"

Response

{
  "data": [
    {
      "id": "type_123e4567-e89b-12d3-a456-426614174000",
      "name": "Initial Consultation",
      "duration_minutes": 30,
      "price": 75.00,
      "currency": "GBP",
      "is_active": true,
      "allow_online_booking": true
    },
    {
      "id": "type_234f5678-e89b-12d3-a456-426614174111",
      "name": "Follow-up Appointment",
      "duration_minutes": 15,
      "price": 45.00,
      "currency": "GBP",
      "is_active": true,
      "allow_online_booking": true
    }
  ],
  "pagination": {
    "total": 2,
    "limit": 100,
    "offset": 0,
    "has_more": false
  }
}

Retrieve an Appointment Type

GET /appointment-types/{id}

Request

curl -X GET "https://app.usejump.co.uk/functions/v1/api-v1/appointment-types/type_123e4567" \
  -H "Authorization: Bearer pk_live_your_api_key"

Response

{
  "data": {
    "id": "type_123e4567-e89b-12d3-a456-426614174000",
    "name": "Initial Consultation",
    "description": "First visit with a clinician",
    "duration_minutes": 30,
    "price": 75.00,
    "currency": "GBP",
    "color": "#4CAF50",
    "is_active": true,
    "requires_payment": true,
    "allow_online_booking": true,
    "booking_notice_hours": 24,
    "cancellation_notice_hours": 48,
    "max_group_size": 1,
    "created_at": "2024-01-01T00:00:00Z",
    "updated_at": "2024-06-15T10:00:00Z"
  }
}

Related Resources