> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nika.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Application webhooks

> Own webhook delivery and verification in your application: the SDK and nika serve provide neither.

> [!NOTE]
>
> **The same client selects HTTP when `url` and
> `token` are present.** A served name such as
> `workflows/release.nika` (its path from the project root) goes
> directly to the server and needs no local engine or file. An explicit local
> path such as `./release.nika` needs a compatible local engine to
> capture an immutable snapshot. The released OpenAPI of
> `nika serve` 0.124.4 covers jobs, SSE events,
> cancellation, trace verification, the artifacts a settled job's sealed
> journal records (behind `run.artifacts()`), workflow listing,
> schedule read and write, stateless authoring
> (`POST /v1/compile`, behind `compile()`) and what a
> workflow's declared ACP route offers (behind `accessOffer()`). It has no
> `POST /v1/run`, job-list, or schedule list, delete, trigger
> or backfill route. The server owns its engine version; check its
> compatibility separately from the bundled local engine.

The SDK exposes no webhook verifier, and the server's OpenAPI has no webhook
registration or delivery routes. Do not call an SDK verifier or claim a Nika
signature format.

If your application emits webhooks after `run.result()`, that is an
application-owned integration:

```ts theme={"system"}
const result = await run.result()

await applicationWebhookQueue.enqueue({
  runId: run.id,
  status: result.status,
  outputs: result.outputs,
})
```

Use the receiving platform's published signing library and contract. Store the
Nika run id and receipt alongside delivery state so workflow proof and webhook
delivery remain separate authorities.

> [card] [Security](https://docs.nika.sh/sdk/operations/security.md)
>
> Keep tokens, receipts and application secrets in their own boundaries.

> [card] [Run lifecycle](https://docs.nika.sh/sdk/remote/jobs.md)
>
> Drive product state from the terminal result.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.