---
title: "Create a prelanding destination"
method: POST
path: "/api/prelanding-destinations"
tags: ["prelanding"]
---

# Create a prelanding destination

`POST /api/prelanding-destinations`

Add a destination to the traffic split.

## Request body

- PrelandingDestinationCreateRequest — Destination creation request model.
  - `url` string, required — Absolute destination URL
  - `weight` integer — Relative traffic share among active destinations
  - `active` boolean — Whether the destination receives traffic

## Response `201`

Successful Response

- PrelandingDestinationResponse — Destination response model.
  - `id` string, uuid, required — Destination id
  - `url` string, required — Absolute destination URL
  - `code` string, required — Short unique label grouping tracking events
  - `weight` integer, required — Relative traffic share among active destinations
  - `active` boolean, required — Whether the destination receives traffic
  - `traffic_percent` number, required — Traffic share computed from active weights, 0 when inactive
  - `activated_at` string, date-time, required — When the destination was first activated
  - `created_at` string, date-time, required — Creation timestamp
  - `updated_at` string, date-time, required — Last update timestamp

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corabea/corabea-api/revisions/13c1bce1bdc4/schema)
