---
title: "Creates a new demographic rapid."
method: POST
path: "/rapid/demographic"
tags: ["CustomerRapid"]
---

# Creates a new demographic rapid.

`POST /rapid/demographic`

## Request body

- CreateDemographicRapidEndpointInput
  - `key` string, required — The identifier of the demographic classification.
  - `payload` ClassifyPayload, required
    - `categories` ClassifyPayloadCategory[], required
      - `label` string, required
      - `value` string, nullable
    - `title` string, required
  - `featureFlags` FeatureFlag[], nullable — Optional feature flags to apply to the rapid.
    - `key` string, required
    - `value` string, required
  - `asset` union
    - object
      - `_t` 'ExistingAssetInput', required
      - `name` string, required
      - `metadata` object, nullable
      - `identifier` string, nullable
    - object
      - `_t` 'MultiAssetInput', required
      - `assets` IAssetInput[], required
      - `metadata` object, nullable
      - `identifier` string, nullable
    - object
      - `_t` 'TextAssetInput', required
      - `text` string, required
      - `metadata` object, nullable
      - `identifier` string, nullable
  - `context` string, nullable — An optional text context to show to the user.
  - `contextAsset` union
    - object
      - `_t` 'ExistingAssetInput', required
      - `name` string, required
      - `metadata` object, nullable
      - `identifier` string, nullable
    - object
      - `_t` 'MultiAssetInput', required
      - `assets` IAssetInput[], required
      - `metadata` object, nullable
      - `identifier` string, nullable
    - object
      - `_t` 'TextAssetInput', required
      - `text` string, required
      - `metadata` object, nullable
      - `identifier` string, nullable

## Response `200`

OK

- CreateDemographicRapidEndpointOutput
  - `rapidId` string, required — The id of the created rapid.

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

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