Getting Started

Testing your integration

How to test against Jump safely, in a sandbox or against your practice.

Use a sandbox

A sandbox is a copy of your practice's setup: the same appointment types, locations, clinicians, questionnaires and templates, with fictional patients only. Messages from it are held rather than sent, and its apps are off, so nothing you do there reaches a real person.

A practice admin creates it in Jump under Settings → Developers → Sandboxes. Switch into it from the practice switcher, then create a key under Settings → Developers → API keys. A key made in a sandbox is a test key (pk_test_), and works only there.

A sandbox patient's phone number and email must be fictional: an Ofcom drama number such as 07700 900123, and an address at a reserved domain such as @example.com or .invalid. Anything else is refused.

To start again from a clean copy, a practice admin can reset the sandbox from the same Settings page. Reset deletes everything made in it, including its test keys and webhooks, and copies your practice's current setup again. The sandbox can also be deleted there.

Stripe is the one app a sandbox can switch on, in test mode only. Connect a Stripe sandbox account, not the Stripe account your practice takes payments with: Jump refuses an account your practice already uses. Use Stripe's test cards; nothing is charged. Resetting the sandbox disconnects Stripe, so connect it again afterwards.

Webhooks from a sandbox carry "livemode": false, and from a practice "livemode": true, so one endpoint can tell them apart.

Testing against your practice

Without a sandbox, every request runs against a real practice. Test like this.

Start with reads

GET requests change nothing, so they're safe to run against your practice. The API reference lets you send GET requests from the page. Use them to check your key, your scopes and how you parse responses.

Test writes on your own test patients

Every practice has test patients: patients whose patient_type is dummy. List them with:

curl "$BASE_URL/patients?patient_type=dummy" \
  -H "Authorization: Bearer $JUMP_API_KEY"

Point your writes at these, never at a real patient. Create one in Jump if you need one, with an obviously made-up name.

A write through the API has the same effects as the same change made in Jump. Booking an appointment can send its confirmation message, and an invoice can be issued to the patient's contact details. Before testing a write, check what your practice has set to happen on that event. Make sure the test patient's email and phone are your own, or empty.

Test webhooks without a real event

Send a test delivery to your endpoint from Jump. It arrives as a test.ping event that references no real record, so you can check your signature verification and parsing without changing anything. See Testing webhooks.

Make retries safe from the start

Send an Idempotency-Key on every write, so a retry during testing can't create a second patient or book a second appointment.

Was this page helpful?

On this page