---
title: "Register webhooks for conditional campaign execution"
method: POST
path: "/v1/campaigns/register-webhooks"
tags: ["PublisherCommand"]
---

# Register webhooks for conditional campaign execution

`POST /v1/campaigns/register-webhooks`

Registers webhooks with Optimove for conditional campaign execution callbacks. Authentication via x-api-key header. Tenant ID is derived from the API key.

## Request body

- ServiceRegisterWebhooksRequest
  - `registerWebhooks` PromotionsPublishercommandRegisterWebhooks

## Response `200`

A successful response.

- ServiceRegisterWebhooksResponse
  - `success` boolean
  - `message` string
  - `webhookUrl` string

## Other responses

- `default` — An unexpected error response.

---

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