---
title: "Generate Http Webhook Key"
method: POST
path: "/v1/generate-http-webhook-key"
tags: ["Agents"]
---

# Generate Http Webhook Key

`POST /v1/generate-http-webhook-key`

Generate a new signing key for an HTTP agent's webhook

## Headers

- `X-Organization-Id` string
- `X-API-Key` string, required

## Request body

- AgentWebhookKeyRequest — Request model for creating/getting an agent webhook key
  - `agent_id` string, nullable — ID of the agent
  - `external_agent_id` string, nullable — External ID of the agent

## Response `200`

Successful Response

- AgentWebhookKeyResponse — Response model for agent webhook key
  - `signing_key` string, required — Signing key
  - `message` string, required — Message

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-03** `aa501502e1fc` — 1 info
  - added the new optional `header` request parameter `X-Organization-Id`

[Change history](https://skmtc.dev/getbluejay/apis/bluejay-api/changes/v1/generate-http-webhook-key/post.md)

---

[API](https://skmtc.dev/getbluejay/apis/bluejay-api.md) · [All operations](https://skmtc.dev/getbluejay/apis/bluejay-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getbluejay/bluejay-api/revisions/aa501502e1fc/schema)
