---
title: "POST /api/v1/affiliate/funnels"
method: POST
path: "/api/v1/affiliate/funnels"
tags: ["Affiliation"]
---

# POST /api/v1/affiliate/funnels

`POST /api/v1/affiliate/funnels`

## Cookies

- `billing_session` string

## Request body

- object
  - `marketingDomainId` integer, required
  - `name` string, required
  - `offerTypeId` integer, required
  - `postbackUrl` union
    - string, uri
    - string
  - `landingDesignId` integer, required
  - `routes` object[]
    - `countryId` integer, nullable
    - `offerId` integer, required
    - `weight` integer

## Response `201`

The Funnel was created.

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

## Other responses

- `400` — The Funnel request is invalid.
- `401` — No valid Affiliate session exists.
- `403` — The request did not originate from this portal.
- `404` — The Affiliate profile was not found.
- `409` — The domain, Offer, Offer Type, or Landing Design is not usable.

---

[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)
