---
title: "Put Signed Webhook"
method: PUT
path: "/api/agents/{agent_id}/signed-webhook"
tags: ["signed-webhooks"]
---

# Put Signed Webhook

`PUT /api/agents/{agent_id}/signed-webhook`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/agents/{agent_id}/signed-webhook`
- Auth: HTTP bearer

Sets the agent's one signed webhook address. Replaces an earlier one.

## Path parameters

- `agent_id` string, required

## Request body

- SignedWebhookUpdate
  - `path` string, required
  - `scheme` 'spectrum_v0', required
  - `secret` string, required

## Response `200`

Successful Response

- SignedWebhookResponse
  - `path` string, required
  - `scheme` string, required
  - `url` string, required

## Other responses

- `422`: Validation Error

---

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