---
title: "Create or update wake webhook for current agent"
method: PUT
path: "/v1/wake/webhook"
tags: ["Wake"]
---

# Create or update wake webhook for current agent

`PUT /v1/wake/webhook`

## Request

- Base URL: `https://api.thrd.email`
- URL: `https://api.thrd.email/v1/wake/webhook`
- Auth: HTTP bearer

Upserts webhook URL and optional enabled flag. Returns signing_secret only on create or when rotate_secret=true.

## Request body

- object
  - `url` string, uri, required
  - `enabled` boolean
  - `rotate_secret` boolean

## Response `200`

Webhook upserted

## Other responses

- `400`: Invalid input

---

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