API Documentation is in beta. Report issues to developers@jump.health
Getting Started
Authentication

Authentication

The Jump EHR API uses API keys to authenticate requests. You can create and manage your API keys in the Jump EHR dashboard.

API Keys

All API requests require a valid API key passed in the Authorization header:

Authorization: Bearer pk_live_your_api_key

Key Types

Jump EHR provides two types of API keys:

TypePrefixPurpose
Testpk_test_Development and testing. Uses sandbox data.
Livepk_live_Production use. Accesses real patient data.
⚠️

Live API keys provide access to real patient data. Only use them in secure server-side environments.

Creating API Keys

  1. Log in to your Jump EHR dashboard
  2. Navigate to Settings > API Keys
  3. Click Create API Key
  4. Enter a descriptive name (e.g., "Production Backend", "Development")
  5. Select the mode (Test or Live)
  6. Choose the required scopes
  7. Click Create

Your API key will only be displayed once. Copy it immediately and store it securely.

Revoking Keys

You can revoke an API key at any time from the dashboard. Revoked keys will immediately stop working for all API requests.

Authentication Example

curl -X GET "https://app.usejump.co.uk/functions/v1/api-v1/patients" \
  -H "Authorization: Bearer pk_live_your_api_key" \
  -H "Content-Type: application/json"

JavaScript

const response = await fetch(
  'https://app.usejump.co.uk/functions/v1/api-v1/patients',
  {
    headers: {
      'Authorization': 'Bearer pk_live_your_api_key',
      'Content-Type': 'application/json'
    }
  }
);

Python

import requests
 
response = requests.get(
    'https://app.usejump.co.uk/functions/v1/api-v1/patients',
    headers={
        'Authorization': 'Bearer pk_live_your_api_key',
        'Content-Type': 'application/json'
    }
)

Scopes

API keys are assigned scopes that control which resources they can access. Request only the scopes your application needs.

Clinical Data Scopes

ScopeDescription
read_patientsView patient records and demographics
write_patientsCreate and update patient records
read_consultationsView consultation records
write_consultationsCreate and update consultations
read_problemsView patient problems and diagnoses
write_problemsCreate and update problems
read_appointmentsView appointment records
write_appointmentsCreate and update appointments
read_documentsView patient documents
write_documentsUpload and update documents
read_prescriptionsView prescription records
write_prescriptionsCreate and update prescriptions

Marketplace Scopes

ScopeDescription
read_appointment_typesView available appointment types
read_cliniciansView clinician profiles
read_locationsView practice locations
read_availabilityQuery scheduling availability
write_holdsCreate and manage appointment holds

Authentication Errors

Status CodeErrorDescription
401UnauthorizedMissing or invalid API key
403ForbiddenValid key but insufficient scopes

Error Response

{
  "error": "Unauthorized",
  "details": "Invalid or missing API key",
  "request_id": "req_abc123"
}

Security Best Practices

Following these practices helps protect your API keys and patient data.

  1. Never expose keys in client-side code - API keys should only be used in server-side applications
  2. Use environment variables - Store keys in environment variables, not in source code
  3. Rotate keys regularly - Create new keys periodically and revoke old ones
  4. Use minimal scopes - Only request the scopes your application actually needs
  5. Monitor usage - Review API logs for unexpected activity
  6. Use test keys for development - Only use live keys in production environments

Next Steps