---
title: "POST /api/v1/admin/affiliation/advertisers"
method: POST
path: "/api/v1/admin/affiliation/advertisers"
tags: ["Affiliation administration"]
---

# POST /api/v1/admin/affiliation/advertisers

`POST /api/v1/admin/affiliation/advertisers`

## Cookies

- `billing_session` string

## Request body

- object
  - `name` string, required
  - `webhookSecret` string, required

## Response `200`

The resource was updated.

- object
  - `id` integer, required
  - `status` 'active' | 'disabled', required

## Other responses

- `201` — The Advertiser was created.
- `400` — The request is invalid.
- `401` — No valid Admin session exists.
- `403` — The request did not originate from this portal.
- `404` — The resource was not found.
- `409` — The requested relation conflicts with active affiliation data.

---

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