# Add a site of yours and get the ownership proof to place

`POST /selftest/sites` · Praecise Scan · Self-test

404 unless SCAN_SELFTEST=1. 400 origin_refused for anything but a public https host; private addresses are refused.

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "origin": {
      "type": "string",
      "description": "https://host"
    },
    "openapi": {
      "type": "string",
      "description": ""
    },
    "params": {
      "type": "object"
    },
    "publicRoutes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "accounts": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "manifest": {
      "type": "object"
    },
    "pages": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "intervalHours": {
      "type": "integer"
    },
    "requestBudget": {
      "type": "integer"
    },
    "shield": {
      "type": "object"
    }
  },
  "required": [
    "origin"
  ]
}
```

## Responses

- `201`: Created

## Example

```sh
curl -X POST 'https://scan.praecise.com/selftest/sites' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "origin": "string"
}'
```
