---
title: "Submit an opaque event"
method: POST
path: "/v1/events"
---

# Submit an opaque event

`POST /v1/events`

## Request

- Base URL: `https://taskhawktech.com` (the document declares no server; this is the origin it was published from)
- URL: `https://taskhawktech.com/v1/events`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/taskhawktech/apis/taskhawk-opaque-event-interface/docs/v1/events/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- OpaqueEnvelope
  - `body` string, required
  - `schema` 'taskhawk.opaque-envelope.v1', required

## Response `202`

The opaque envelope was admitted to the enrolled private path.

## Other responses

- `400`: The request was rejected.
- `404`: Not found.
- `503`: The service is unavailable.

---

[API](https://skmtc.dev/taskhawktech/apis/taskhawk-opaque-event-interface.md) - [All operations](https://skmtc.dev/taskhawktech/apis/taskhawk-opaque-event-interface/llms.txt) - [OpenAPI document](https://skmtc.dev/taskhawktech/apis/taskhawk-opaque-event-interface/revisions/2dce41e860f5?raw)
