---
title: "Create a new campaign"
method: POST
path: "/api/v2/scorecard/campaigns"
tags: ["Scorecards"]
---

# Create a new campaign

`POST /api/v2/scorecard/campaigns`

Creates a new scorecard campaign.

## Request body

- CreateCampaignRequest — Request to create a new campaign.
  - `data` CreateCampaignRequestData, required — Data for creating a new campaign.
    - `attributes` CreateCampaignRequestAttributes, required — Attributes for creating a new campaign.
      - `description` string — The description of the campaign.
      - `due_date` string, date-time — The due date of the campaign.
      - `entity_scope` string — Entity scope query to filter entities for this campaign.
      - `guidance` string — Guidance for the campaign.
      - `key` string, required — The unique key for the campaign.
      - `name` string, required — The name of the campaign.
      - `owner_id` string, required — The UUID of the campaign owner.
      - `rule_ids` string[], required — Array of rule IDs associated with this campaign.
      - `start_date` string, date-time, required — The start date of the campaign.
      - `status` 'in_progress' | 'not_started' | 'completed' — The status of the campaign.
    - `type` 'campaign', required — The JSON:API type for campaigns.

## Response `201`

Created

- CampaignResponse — Response containing campaign data.
  - `data` CampaignResponseData, required — Campaign data.
    - `attributes` CampaignResponseAttributes, required — Campaign attributes.
      - `created_at` string, date-time, required — Creation time of the campaign.
      - `description` string — The description of the campaign.
      - `due_date` string, date-time — The due date of the campaign.
      - `entity_scope` string — Entity scope query to filter entities for this campaign.
      - `guidance` string — Guidance for the campaign.
      - `key` string, required — The unique key for the campaign.
      - `modified_at` string, date-time, required — Time of last campaign modification.
      - `name` string, required — The name of the campaign.
      - `owner` string, required — The UUID of the campaign owner.
      - `start_date` string, date-time, required — The start date of the campaign.
      - `status` string, required — The status of the campaign.
    - `id` string, required — The unique ID of the campaign.
    - `type` 'campaign', required — The JSON:API type for campaigns.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `429` — Too many requests

---

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