---
title: "Ses Event Webhook"
method: POST
path: "/api/ses/event_webhook/receive"
---

# Ses Event Webhook

`POST /api/ses/event_webhook/receive`

## Request

- Base URL: `https://api.versemedical.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.versemedical.com/api/ses/event_webhook/receive`
- Auth: none declared

Webhook for AWS SES events, which are delivered wrapped in SNS messages.

SNS posts with a `text/plain` content type, so the body is taken raw and
parsed here instead of being declared as a JSON body. The SNS message type
header decides the work: `SubscriptionConfirmation` needs its subscribe URL
fetched to activate the topic, `Notification` carries the SES event itself.

https://docs.aws.amazon.com/sns/latest/dg/sns-message-and-json-formats.html

## Headers

- `x-amz-sns-message-type` string, nullable

## Request body

- string, binary

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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