---
title: "Context processor webhook endpoint"
method: POST
path: "/api/v1/context/webhook"
tags: ["context"]
---

# Context processor webhook endpoint

`POST /api/v1/context/webhook`

## Request

- Base URL: `https://platform-backend.getalchemystai.com`
- URL: `https://platform-backend.getalchemystai.com/api/v1/context/webhook`
- Auth: none declared
- TypeScript: <https://skmtc.dev/alchemyst-ai/apis/alchemyst-ai-api-v1-documentation/docs/api/v1/context/webhook/post.ts> (a function with typed inputs; its response is checked against the schema)

Receives context events from the context processor and re-emits them to the SSE feed and any registered outbound webhook subscribers.

## Request body

- object
  - `event` 'context.add' | 'context.async.add.started' | 'context.async.add.in-progress' | 'context.async.add.failed' | 'context.async.add.completed' | 'context.search' | 'context.steer' | 'context.delete' | 'context.view' | 'context.memory.add' | 'context.memory.delete' | 'context.memory.update', required
  - `organization_id` string, required
  - `user_id` string
  - `data` object

## Response `200`

Event received

## Other responses

- `400`: Bad request - invalid payload
- `401`: Invalid webhook secret
- `500`: Internal server error

## Changes

- **2026-11-09** `2650e0435c8b`: 1 info
  - api operation id `contextWebhook` was added
- **2026-11-09** `f416d672a956`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/alchemyst-ai/apis/alchemyst-ai-api-v1-documentation/changes/api/v1/context/webhook/post.md)

---

[API](https://skmtc.dev/alchemyst-ai/apis/alchemyst-ai-api-v1-documentation.md) - [All operations](https://skmtc.dev/alchemyst-ai/apis/alchemyst-ai-api-v1-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/alchemyst-ai/apis/alchemyst-ai-api-v1-documentation/revisions/2650e0435c8b?raw)
