---
title: "Set webhook URL for a specific agent."
method: POST
path: "/agentphone/v1/agents/{agentId}/webhook"
tags: ["AgentPhone"]
---

# Set webhook URL for a specific agent.

`POST /agentphone/v1/agents/{agentId}/webhook`

## Request

- Base URL: `https://api.orthogonal.com/mpp`
- URL: `https://api.orthogonal.com/mpp/agentphone/v1/agents/{agentId}/webhook`
- Auth: none declared
- TypeScript: <https://skmtc.dev/orthogonal/apis/orthogonal-api-marketplace/docs/agentphone/v1/agents/:agentId/webhook/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `agentId` string, required

## Request body

- object
  - `url` string, required: Webhook URL.

## Response `200`

Successful response

## Changes

- **2026-11-08** `857e915717f4`: 2 breaking
  - added the new path request parameter `agentId`
  - added required request body
- **2026-08-07** `a2f6a959fef9`: 1 info
  - removed the non-success response with the status `402`

[Operation history](https://skmtc.dev/orthogonal/apis/orthogonal-api-marketplace/changes/agentphone/v1/agents/:agentId/webhook/post.md)

---

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