# Quickstart

> Get started with Jump EHR API in minutes. Learn how to make your first API call and retrieve patient data.

Source: https://docs.usejump.co.uk/getting-started/quickstart

Get started with the Jump EHR API in minutes.

## Step 1: Get Your API Key

1. Log in to your Jump EHR dashboard
2. Navigate to **Settings** > **API Keys**
3. Click **Create API Key**
4. Select the scopes you need (e.g., `read_patients`, `read_appointments`)
5. Copy your API key - you won't be able to see it again!

<Callout type="warning">
  Keep your API keys secure. Never expose them in client-side code or public repositories.
</Callout>

## Step 2: Make Your First Request

Test your API key by listing patients:

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

### Response

```json
{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "first_name": "Sarah",
      "last_name": "Johnson",
      "date_of_birth": "1985-03-15",
      "nhs_number": "123 456 7890"
    }
  ],
  "pagination": {
    "total": 150,
    "limit": 10,
    "offset": 0,
    "has_more": true
  }
}
```

## Step 3: Explore the API

Now that you're authenticated, explore the full API:

* [API Reference](https://docs.usejump.co.uk/api-reference) - All endpoints documented
* [API Explorer](https://docs.usejump.co.uk/api-reference/explorer) - Interactive Swagger UI
* [Webhooks](https://docs.usejump.co.uk/webhooks) - Real-time event notifications

## Code Examples

### JavaScript/Node.js

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

const { data, pagination } = await response.json();
console.log(`Found ${pagination.total} patients`);
```

### Python

```python
import requests

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

data = response.json()
print(f"Found {data['pagination']['total']} patients")
```

## Next Steps

* Learn about [Authentication](https://docs.usejump.co.uk/getting-started/authentication) and scopes
* Understand [Rate Limits](https://docs.usejump.co.uk/getting-started/rate-limits) and error handling
* Set up [Webhooks](https://docs.usejump.co.uk/webhooks) for real-time updates
