ShopCreate Campaign

Create Campaign

Create a campaign and book the jobs it covers. Send provider_product from List Products with product_type=campaign. The campaign starts as active. Changes to jobs are reflected automatically after creation. See Publish a Campaign.

curl -X POST "https://api.getkini.com/campaigns/" \
  -H "Content-Type: application/json" \
  -H "Company-Id: 1" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "company_billing_detail": 12,
  "campaign": {
    "name": "Sponsored Jobs Berlin",
    "provider_product": 3104,
    "job_selection_mode": "manual",
    "included_jobs": [
      123456
    ],
    "job_filter": [
      {
        "field": "city",
        "op": "eq",
        "value": "Berlin"
      }
    ],
    "budget": "1500.00",
    "refresh_interval": 14,
    "starts_at": "2026-11-16T00:00:00Z",
    "ends_at": "2026-12-16T00:00:00Z"
  }
}'
{
  "id": 4711,
  "name": "Sponsored Jobs Berlin",
  "status": "active",
  "provider_product": 3104,
  "job_selection_mode": "manual",
  "job_filter": [
    {
      "field": "city",
      "op": "eq",
      "value": "Berlin"
    }
  ],
  "budget": "1500.00",
  "budget_interval": "monthly",
  "refresh_interval": 14,
  "starts_at": "2026-11-16T00:00:00Z",
  "ends_at": "2026-12-16T00:00:00Z",
  "transaction": "b7e1c2a0-4f3d-4a1e-9c2b-6d5e4f3a2b10",
  "incomplete_count": 0,
  "created_at": "2026-11-09T09:00:00Z",
  "updated_at": "2026-11-09T09:00:00Z"
}
POST
/campaigns/
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Authenticate every request with an API key from the Kini Partner App, sent as Authorization: Bearer <your_api_key>.

Authenticate every request with an API key from the Kini Partner App, sent as Authorization: Bearer <your_api_key>.
Content-Typestring
Required

The media type of the request body

Options: application/json
header
Company-Idinteger
Required

Kini ID of the applicable company.

company_billing_detailinteger

Optional. Kini ID of an active billing detail for this company.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Authenticate every request with an API key from the Kini Partner App, sent as Authorization: Bearer <your_api_key>.

Headers

Company-Idinteger
Required

Kini ID of the applicable company.

Example:
1

Body

application/json
company_billing_detailinteger

Optional. Kini ID of an active billing detail for this company.

Example:
12
campaignobject
Required

Responses