---
title: "Subscribe a new URL as to a Webhook event."
method: POST
path: "/Webhook/subscribe"
tags: ["Webhooks"]
---

# Subscribe a new URL as to a Webhook event.

`POST /Webhook/subscribe`

Creates a new Webhook subscription with the given data.

## Response `201`

Successfully created Webhook

- Response
  - `code` integer, required
  - `data` object, required
  - `account_id` integer, required

---

[API](https://skmtc.net/ontraport/apis/ontraport-api.md) · [All operations](https://skmtc.net/ontraport/apis/ontraport-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ontraport/ontraport-api/revisions/edcd035d71f5/schema)
