Create Site
POST
/site
Use this method to create a new site.
Headers
Name
Value
Authorization
Basic <token>
Body
{
name: string,
account: {
id : number, // Mandatory, accountId (looks like 1234)
name?: string,
}
cpm_adjustment?: number,
is_archived?: boolean,
schain?: {
is_active: boolean,
asi: string,
sid: string
}
}
Response
{
"id": number,
"name": "string",
"cpm_adjustment": number,
"is_archived": boolean,
"account": {
"id": string,
"name": string
},
"schain": {
"is_active": boolean,
"asi": string,
"sid": string
},
"stored_requests": StoredRequests[]
}
Last updated
Was this helpful?