---
title: "Create a remote configuration"
method: POST
path: "/remote-configurations"
tags: ["Remote Configurations"]
---

# Create a remote configuration

`POST /remote-configurations`

Creates a new remote configuration. New configurations start in `draft` status. Returns 201 with the created configuration and a Location header.

## Headers

- `Idempotency-Key` string

## Request body

- V4RemoteConfigurationCreate
  - `name` string, required — Display name (max 256 characters).
  - `context_key` string, nullable — Optional stable key the SDK uses to look up this configuration.
  - `segment_percent` number — Optional. Percentage (0–100) of the targeted audience that receives this configuration. Defaults to `100` when omitted.
  - `segmentation_conditions` V4RemoteConfigurationSegmentationCondition[] — Optional targeting rules that narrow the audience. Omit or pass `[]` to target the whole audience.
    - `code` string, required — Identifier of the user attribute or metric the rule tests.
    - `comparator` string, required — Comparison operator applied between the attribute and `values`.
    - `type` string, required — Value type of the attribute being compared.
    - `values` string[], required — Scalar values the rule compares against.
    - `object_values` object[], nullable — Optional structured values for comparators that match against objects rather than scalars.

## Response `201`

Remote configuration created

- V4RemoteConfiguration — A named server-driven configuration. The read view returned by the list, create, update, and status endpoints. Only the single-configuration GET additionally embeds the inline `payload` values (see `V4RemoteConfigurationDetail`); these endpoints do not.
  - `object` string, required
  - `id` string, required — Remote configuration identifier (UUID).
  - `url` string, required — Canonical API path.
  - `name` string, required — Display name.
  - `status` string, required — Lifecycle status. Only `active` configurations are served to the SDK. `archived` is terminal. Change via `PATCH /remote-configurations/{config_id}/status`.
  - `context_key` string, nullable — Optional stable key the SDK uses to look up this configuration.
  - `segment_percent` number, required — Percentage (0–100) of the targeted audience that receives this configuration. `100` targets the whole audience.
  - `segmentation_conditions` V4RemoteConfigurationSegmentationCondition[], required — Targeting rules that narrow the audience. Always present on read; `[]` when no conditions are set.
    - `code` string, required — Identifier of the user attribute or metric the rule tests.
    - `comparator` string, required — Comparison operator applied between the attribute and `values`.
    - `type` string, required — Value type of the attribute being compared.
    - `values` string[], required — Scalar values the rule compares against.
    - `object_values` object[], nullable — Optional structured values for comparators that match against objects rather than scalars.
  - `priority` integer, nullable, required — Resolution priority when a user matches multiple configurations (read-only). `null` until the configuration is first activated.
  - `started_at` string, date-time, nullable — When the configuration was activated. `null` while in `draft`.
  - `finished_at` string, date-time, nullable — When the configuration was archived. `null` while not archived.
  - `last_applied_at` string, date-time, nullable — When the configuration was last served to a user.
  - `created_at` string, date-time, required — ISO 8601 creation timestamp.
  - `updated_at` string, date-time, required — ISO 8601 last update timestamp.

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `415` — Unsupported Content-Type
- `500` — Internal error
- `504` — Upstream timeout

---

[API](https://skmtc.net/qonversion/apis/qonversion-rest-api-v4.md) · [All operations](https://skmtc.net/qonversion/apis/qonversion-rest-api-v4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qonversion/qonversion-rest-api-v4/versions/e3f72cf8951c/schema)
