---
title: "Get the raw email for a source event"
method: GET
path: "/api/sources/{id}/events/{eventId}/raw"
tags: ["Sources"]
---

# Get the raw email for a source event

`GET /api/sources/{id}/events/{eventId}/raw`

## Request

- Base URL: `https://keep.md`
- URL: `https://keep.md/api/sources/{id}/events/{eventId}/raw`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `keep.session_token`

Get the raw email for a source event.

## Path parameters

- `id` string, required
- `eventId` string, required

## Headers

- `Keep-API-Version` string

## Response `200`

Raw email

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: The credential lacks access or the plan does not include the feature
- `404`: Resource not found

---

[API](https://skmtc.dev/keep/apis/keep-api.md) · [All operations](https://skmtc.dev/keep/apis/keep-api/llms.txt) · [OpenAPI document](https://skmtc.dev/keep/apis/keep-api/revisions/a338a455bd0f?raw)
