---
title: "Create Site"
method: POST
path: "/v1/site"
---

# Create Site

`POST /v1/site`

This API call adds a new site to the network. The result includes the unique "Site ID" that can be used to update or remove the site. 

By default, all new sites are mapped to the All Sites channel. If the All Sites channel is deleted or the site is removed from that channel, the site must be mapped to another channel to be used in ad requests.

## Request body

- object
  - `Title` string, required — The site's name
  - `URL` string, required — The new site's link. Must be in the format `https://path of URL`
  - `NetworkMargin` number, float — Sets a network margin for a site in a network. The network margin adjusts the price a site bids at in auctions but not its revenue in reporting
  - `CustomRelevancyScore` integer — The site's relevancy score, an integer between 1 and 1000. The lower the relevancy score, the lower the ad will be ranked in the auction. A site that does not have a defined relevancy score will have a default relevancy score of `500`. [Learn more](https://dev.kevel.com/docs/relevancy-score).
  - `IsDeleted` boolean — Don't use when creating a Site. Defaults to `false`

## Response `200`

200

- object
  - `Id` integer
  - `Title` string
  - `Url` string
  - `NetworkMargin` unknown
  - `PublisherAccountId` integer
  - `IsDeleted` boolean

---

[API](https://skmtc.net/kevel/apis/engine-apis.md) · [All operations](https://skmtc.net/kevel/apis/engine-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kevel/engine-apis/versions/0ca55f45aa7d/schema)
