# SideZignal API

SideZignal is a cooperative ad network for independent developers: members show each other’s ads on their sites. No money changes hands, and nobody is tracked. This API does everything a member can do in the console, so a program, or an assistant acting for a member, can take an organization from nothing to ads being served.

Base address: `https://api.sidezignal.com`. Everything about your organization is under `/v1/org`.

## Before the first request

1. **Get invited.** Membership is by invitation. Ask for one at [sidezignal.com](https://sidezignal.com/) and accept it. This is the one step a person must do.
2. **Create an API key.** In [the console](https://console.sidezignal.com/), under Settings, API keys. The organization’s owner creates it, with read-only or full access. It is shown once.
3. **Send it with every request.** `Authorization: Bearer sz_…`. Treat it like a password; never put it in a web page.

## How to work with it

Ask `GET /v1/org/journey` and do what it says, then ask again. It lists every step from a first site to a running ad, each with a `state`:

- `done`: Finished.
- `member`: Waiting on you. `next.call` names the request that does it, and `next.how` says what it needs.
- `operator`: Waiting on a reviewer, usually within a day. Nothing to do but ask again later.
- `locked`: Not reachable until an earlier step is done.

The steps, in order:

1. **Register a site** (`siteRegistered`). Register a website of yours that will show members’ ads. `POST /v1/org/sites`
2. **Add a spot** (`spotAdded`). Add a placement to the site: one place on a page where an ad can appear. `POST /v1/org/sites/{siteId}/placements`
3. **Prove the site is yours** (`ownershipProven`). Put the site’s verification value on its domain (a meta tag, a file or a DNS record), then ask for it to be checked. GET the same address first for the value and where to put it. `POST /v1/org/sites/{siteId}/verification`
4. **Put the code on the page** (`codeInstalled`). Add the placement’s embed code to the page. This step is done once the page has asked the network for an ad. `GET /v1/org/placements/{placementId}/code`
5. **Site approved** (`siteApproved`). A person reviews the site, usually within a day. Nothing to do but wait; proving ownership and installing the code first makes it quick.
6. **Site showing ads** (`siteLive`). The site and at least one of its placements must be switched on.
7. **Add a product** (`productAdded`). Add the app, game or website you want to promote. `POST /v1/org/products`
8. **Create a campaign** (`campaignCreated`). Create a campaign for the product: its ad shapes and when it starts. `POST /v1/org/campaigns`
9. **Write an ad** (`adWritten`). Write a creative in the campaign: headline, description, button, link and an optional image. `POST /v1/org/creatives`
10. **Submit for review** (`submitted`). Submit the creative; its campaign is submitted with it. `POST /v1/org/creatives/{creativeId}/submit`
11. **Ad approved** (`approved`). A person reviews the ad and its campaign, usually within a day. Nothing to do but wait.
12. **Campaign running** (`running`). The campaign starts by itself once approved and the site is live, unless it was set to be started by hand: then activate it. `POST /v1/org/campaigns/{campaignId}/activate`

Two steps happen outside the API, on the member’s own website: publishing the proof of ownership (a meta tag, a file or a DNS record), and putting the placement’s code on a page. The API gives the exact value and the exact code for both.

## Conventions

- **JSON in, JSON out.** A success is `{ "data": … }`; a failure is `{ "error": { "code", "message", "field"?, "fix"? } }`. Send bodies with `Content-Type: application/json`.
- **Changes send only what changes.** `PATCH` keeps every field it is not given.
- **Check first.** Add `?validate=true` to any write: everything is checked and nothing is changed. The answer is `{ "valid": true, "changed": false }`, or the error the real request would get.
- **Retry safely.** Send an `Idempotency-Key` header on any write: the same key on the same address gets the first answer back for a day, instead of doing the thing twice.
- **Times.** ISO 8601, such as `2027-03-01T09:00:00Z`. Stats days are `YYYY-MM-DD`.
- **Images.** Sent base64-encoded in the JSON body. Their type and size are read from their own bytes.
- **Limits.** 120 requests a minute for each key. Over that the answer is `rate_limited`, with a `Retry-After` header.
- **The rules as data.** `GET /v1/reference` has every format, size, limit and allowed value. No key needed.

### Errors

| code | status | meaning |
| --- | --- | --- |
| `unauthorized` | 401 | No key, or a key that is not valid or was revoked. |
| `forbidden` | 403 | The key may not do this: a read-only key asked to change something. |
| `not_found` | 404 | Nothing of yours at this address. |
| `invalid` | 422 | The request is not valid. `field` names what is wrong; `fix` says what to do. |
| `conflict` | 409 | Not possible as things stand: an id already taken, or a step that is not open yet. |
| `frozen` | 403 | Your organization is suspended. It can look, and change nothing. |
| `rate_limited` | 429 | Too many requests. Wait for the time in `Retry-After`. |
| `method_not_allowed` | 405 | The address exists but does not take this method. `Allow` lists what it takes. |
| `internal` | 500 | Something went wrong on our side. Try again. |

## Basics

The rules of the network, your organization, and what to do next.

### `GET /v1`

Where everything is, as JSON: links to this guide, the OpenAPI document, the reference and the journey. No key needed. *Needs: no key.*

### `GET /v1/reference`

The network’s rules as data: every ad format with its sizes and image requirements, text limits, categories and other allowed values. No key needed. *Needs: no key.*

### `GET /v1/openapi.json`

This API as an OpenAPI 3.1 document. No key needed. *Needs: no key.*

### `GET /v1/org`

Your organization, and the name and access of the key you are using. *Needs: any key.*

### `PATCH /v1/org`

Change your organization’s name or description. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `name` | string | no | Up to 80 characters. |
| `description` | string | no | Up to 500 characters. |

```
curl -X PATCH -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"description":"We make small, useful apps."}' \
  https://api.sidezignal.com/v1/org
```

### `GET /v1/org/journey`

Every step from a first site to a running ad, each with its state, and the next step with who it waits on and the request that does it. Ask again after each step. *Needs: any key.*

## Publish: show the network’s ads on your site

Your site comes first: giving the network a spot is what lets your own ads run. Register the site, prove it is yours, add a placement, put its code on the page.

### `GET /v1/org/sites`

Your sites. *Needs: any key.*

### `POST /v1/org/sites`

Register a site. It starts unverified and waiting for review. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `name` | string | yes | Up to 80 characters. |
| `domain` | string | yes | The address people visit, without https://. |
| `description` | string | no | Up to 500 characters. Default: "". |
| `category` | "games" \| "puzzle" \| "productivity" \| "utilities" \| "developer-tools" \| "education" \| "entertainment" \| "lifestyle" \| "health" \| "finance" \| "social" \| "other" | no | Default: "other". |
| `otherDomains` | string[] | no | Other hosts the same site is served from, such as its www address. Default: []. |
| `testDomains` | string[] | no | Staging and preview hosts: real ads, nothing counted. A `*` covers one part of a name. Default: []. |

```
curl -X POST -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"name":"My blog","domain":"blog.example","category":"productivity"}' \
  https://api.sidezignal.com/v1/org/sites
```

### `GET /v1/org/sites/{id}`

One site, with where it stands: verificationStatus, approvalStatus and any reviewer’s note. *Needs: any key.*

### `PATCH /v1/org/sites/{id}`

Change a site. Its domains are fixed once registered. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `name` | string | no | Up to 80 characters. |
| `description` | string | no | Up to 500 characters. |
| `category` | "games" \| "puzzle" \| "productivity" \| "utilities" \| "developer-tools" \| "education" \| "entertainment" \| "lifestyle" \| "health" \| "finance" \| "social" \| "other" | no |  |
| `testDomains` | string[] | no |  |
| `enabled` | boolean | no | Switch the whole site off or on. Off, it shows no ads. |
| `linkedProductId` | string \| null | no | The product of yours that is this same site, so it never advertises itself. |
| `restrictions.blockedOrgIds` | string[] | no |  |
| `restrictions.blockedProductIds` | string[] | no |  |
| `restrictions.excludedCategories` | "games" \| "puzzle" \| "productivity" \| "utilities" \| "developer-tools" \| "education" \| "entertainment" \| "lifestyle" \| "health" \| "finance" \| "social" \| "other"[] | no |  |
| `restrictions.excludedDestinationTypes` | "web" \| "app-store" \| "google-play"[] | no |  |
| `restrictions.maxAgeRating` | "everyone" \| "teen" \| "mature" | no |  |
| `restrictions.allowSelfPromotion` | boolean | no |  |

```
curl -X PATCH -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"testDomains":["staging.blog.example"]}' \
  https://api.sidezignal.com/v1/org/sites/{id}
```

### `GET /v1/org/sites/{id}/verification`

Whether the site is proven yours, and the three ways to prove it (a DNS record, a file, a meta tag) with the exact value for each. *Needs: any key.*

### `POST /v1/org/sites/{id}/verification`

Look for the proof on the site’s domain now. Finding nothing is an answer (found: false), not an error. *Needs: full access.*

### `GET /v1/org/sites/{id}/placements`

A site’s placements: the spots where an ad can appear. *Needs: any key.*

### `POST /v1/org/sites/{id}/placements`

Add a placement. Its id is public, goes into the page, and must be unique across the network. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `id` | string | yes | 3-63 lower-case letters, digits and hyphens; unique across the whole network. |
| `name` | string | yes | Up to 80 characters. |
| `description` | string | no | Up to 500 characters. Default: "". |
| `formats` | "compact-banner" \| "horizontal-card" \| "square-card" \| "featured" \| "tall-card"[] | yes | The ad shapes the spot takes. |
| `renderModes` | "standard" \| "native"[] | no | How ads are drawn there: the standard card, or the site's own design. Default: ["standard"]. |
| `enabled` | boolean | no | Default: true. |

```
curl -X POST -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"id":"my-blog-footer","name":"Footer","formats":["horizontal-card"]}' \
  https://api.sidezignal.com/v1/org/sites/{id}/placements
```

### `POST /v1/org/sites/{id}/format-requests`

Ask for an ad format the network does not have yet, for a space on this site. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `description` | string | yes | The space, in a sentence or two. Up to 500 characters. |
| `placementName` | string | no | Up to 80 characters. Default: "". |
| `width` | integer \| null | no | Default: null. |
| `height` | integer \| null | no | Default: null. |

```
curl -X POST -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"description":"A whole sidebar, about 300 wide and 600 tall.","width":300,"height":600}' \
  https://api.sidezignal.com/v1/org/sites/{id}/format-requests
```

### `GET /v1/org/placements/{id}`

One placement. *Needs: any key.*

### `PATCH /v1/org/placements/{id}`

Change a placement. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `name` | string | no | Up to 80 characters. |
| `description` | string | no | Up to 500 characters. |
| `formats` | "compact-banner" \| "horizontal-card" \| "square-card" \| "featured" \| "tall-card"[] | no |  |
| `renderModes` | "standard" \| "native"[] | no |  |
| `enabled` | boolean | no |  |
| `restrictions.blockedOrgIds` | string[] | no |  |
| `restrictions.blockedProductIds` | string[] | no |  |
| `restrictions.excludedCategories` | "games" \| "puzzle" \| "productivity" \| "utilities" \| "developer-tools" \| "education" \| "entertainment" \| "lifestyle" \| "health" \| "finance" \| "social" \| "other"[] | no |  |
| `restrictions.excludedDestinationTypes` | "web" \| "app-store" \| "google-play"[] | no |  |
| `restrictions.maxAgeRating` | "everyone" \| "teen" \| "mature" | no |  |
| `restrictions.allowSelfPromotion` | boolean | no |  |

```
curl -X PATCH -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"enabled":false}' \
  https://api.sidezignal.com/v1/org/placements/{id}
```

### `GET /v1/org/placements/{id}/code`

The code for the page, three ways: a script tag, a React component, or your own rendering. *Needs: any key.*

### `PUT /v1/org/placements/{id}/shot`

Store a screenshot of the page with the spot marked on it, so members see where their ads go. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `contentType` | "image/png" \| "image/jpeg" \| "image/webp" | yes |  |
| `data` | string | yes | The image's bytes, base64-encoded. |
| `box.x` | number | yes |  |
| `box.y` | number | yes |  |
| `box.w` | number | yes |  |
| `box.h` | number | yes |  |

```
curl -X PUT -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"contentType":"image/png","data":"<base64>","box":{"x":0.1,"y":0.7,"w":0.8,"h":0.15}}' \
  https://api.sidezignal.com/v1/org/placements/{id}/shot
```

### `DELETE /v1/org/placements/{id}/shot`

Remove the screenshot. *Needs: full access.*

## Advertise: run your own ads on members’ sites

A product, a campaign for it, and its ads. Every ad and campaign is reviewed by a person before it runs; a campaign runs only while your own site is live.

### `GET /v1/org/products`

Your products. *Needs: any key.*

### `POST /v1/org/products`

Add a product: the app, game or website you want people to find. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `name` | string | yes | Up to 80 characters. |
| `destinationUrl` | string | yes | Where its ads lead by default. Up to 2048 characters. |
| `description` | string | no | Up to 500 characters. Default: "". |
| `category` | "games" \| "puzzle" \| "productivity" \| "utilities" \| "developer-tools" \| "education" \| "entertainment" \| "lifestyle" \| "health" \| "finance" \| "social" \| "other" | no | Default: "other". |
| `productTypes` | "website" \| "web-game" \| "web-app" \| "ios-app" \| "android-app" \| "other"[] | no | Everything it is: any mix of website, web-game, web-app, ios-app, android-app, other. Default: ["website"]. |
| `ageRating` | "everyone" \| "teen" \| "mature" | no | Default: "everyone". |
| `websiteUrl` | string \| null | no | Default: null. |
| `appStoreUrl` | string \| null | no | Needed when it is an ios-app. Default: null. |
| `googlePlayUrl` | string \| null | no | Needed when it is an android-app. Default: null. |
| `iconPath` | string \| null | no | The `path` of one of your library images, as its icon. Default: null. |
| `status` | "enabled" \| "disabled" | no | `disabled` keeps the product but stops advertising it. Default: "enabled". |

```
curl -X POST -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"name":"Rocket Notes","destinationUrl":"https://rocketnotes.example/","category":"productivity"}' \
  https://api.sidezignal.com/v1/org/products
```

### `GET /v1/org/products/{id}`

One product. *Needs: any key.*

### `PATCH /v1/org/products/{id}`

Change a product. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `name` | string | no | Up to 80 characters. |
| `destinationUrl` | string | no | Where its ads lead by default. Up to 2048 characters. |
| `description` | string | no | Up to 500 characters. Default: "". |
| `category` | "games" \| "puzzle" \| "productivity" \| "utilities" \| "developer-tools" \| "education" \| "entertainment" \| "lifestyle" \| "health" \| "finance" \| "social" \| "other" | no | Default: "other". |
| `productTypes` | "website" \| "web-game" \| "web-app" \| "ios-app" \| "android-app" \| "other"[] | no | Everything it is: any mix of website, web-game, web-app, ios-app, android-app, other. Default: ["website"]. |
| `ageRating` | "everyone" \| "teen" \| "mature" | no | Default: "everyone". |
| `websiteUrl` | string \| null | no | Default: null. |
| `appStoreUrl` | string \| null | no | Needed when it is an ios-app. Default: null. |
| `googlePlayUrl` | string \| null | no | Needed when it is an android-app. Default: null. |
| `iconPath` | string \| null | no | The `path` of one of your library images, as its icon. Default: null. |
| `status` | "enabled" \| "disabled" | no | `disabled` keeps the product but stops advertising it. Default: "enabled". |

```
curl -X PATCH -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"description":"Notes at the speed of thought."}' \
  https://api.sidezignal.com/v1/org/products/{id}
```

### `GET /v1/org/campaigns`

Your campaigns. *Needs: any key.*

### `POST /v1/org/campaigns`

Create a campaign for one of your products. It starts as a draft. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `productId` | string | yes | Up to 128 characters. |
| `name` | string | yes | Up to 80 characters. |
| `description` | string | no | Up to 500 characters. Default: "". |
| `formats` | "compact-banner" \| "horizontal-card" \| "square-card" \| "featured" \| "tall-card"[] | yes | The ad shapes its creatives will use. |
| `startAt` | string | yes | When it starts. Nothing runs before the campaign is approved and your site is live, whatever this says. |
| `endAt` | string \| null | no | When it ends, or null to run until paused. |
| `placementIds` | string[] \| null | no | Limit it to these placement ids, or null for everywhere it fits. Default: null. |
| `autoStart` | boolean | no | Start by itself once approved and your site is live (true), or wait to be activated (false). Default: true. |

```
curl -X POST -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"productId":"<productId>","name":"Spring launch","formats":["horizontal-card"],"startAt":"2027-03-01T09:00:00Z"}' \
  https://api.sidezignal.com/v1/org/campaigns
```

### `GET /v1/org/campaigns/{id}`

One campaign, with its status and any reviewer’s note. *Needs: any key.*

### `PATCH /v1/org/campaigns/{id}`

Change a campaign. Its product is fixed. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `name` | string | no | Up to 80 characters. |
| `description` | string | no | Up to 500 characters. Default: "". |
| `formats` | "compact-banner" \| "horizontal-card" \| "square-card" \| "featured" \| "tall-card"[] | no | The ad shapes its creatives will use. |
| `startAt` | string | no | When it starts. Nothing runs before the campaign is approved and your site is live, whatever this says. |
| `endAt` | string \| null | no | When it ends, or null to run until paused. |
| `placementIds` | string[] \| null | no | Limit it to these placement ids, or null for everywhere it fits. Default: null. |
| `autoStart` | boolean | no | Start by itself once approved and your site is live (true), or wait to be activated (false). Default: true. |

```
curl -X PATCH -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"endAt":"2027-06-01T00:00:00Z"}' \
  https://api.sidezignal.com/v1/org/campaigns/{id}
```

### `DELETE /v1/org/campaigns/{id}`

Delete a campaign that has never been in review or run, with its ads. *Needs: full access.*

### `POST /v1/org/campaigns/{id}/{action}`

Move a campaign along. action is one of: submit, withdraw, activate, pause, resume, complete. *Needs: full access.*

### `GET /v1/org/creatives`

Your ads. Add ?campaignId= for one campaign’s. *Needs: any key.*

### `POST /v1/org/creatives`

Write an ad in a campaign. It starts as a draft. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `campaignId` | string | yes | Up to 128 characters. |
| `name` | string | yes | Up to 80 characters. |
| `format` | "compact-banner" \| "horizontal-card" \| "square-card" \| "featured" \| "tall-card" | yes | One of the campaign's formats. Fixed once created: another format is another creative. |
| `platforms` | "ios" \| "android" \| "desktop"[] \| null | no | Show it only on these devices (ios, android, desktop), or null for all. Default: null. |
| `draft.headline` | string | yes | Up to 60 characters. |
| `draft.description` | string | no | Up to 140 characters. Default: "". |
| `draft.cta` | string | yes | The button's words. Up to 20 characters. |
| `draft.destinationUrl` | string | yes | Where a click leads. Up to 2048 characters. |
| `draft.imagePath` | string \| null | no | The `path` of one of your library images, or null for none. Default: null. |
| `draft.imageAlt` | string | no | What the image shows, for screen readers. Up to 140 characters. Default: "". |

```
curl -X POST -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"campaignId":"<campaignId>","name":"Main card","format":"horizontal-card","draft":{"headline":"Notes at the speed of thought","description":"Capture ideas before they escape.","cta":"Try it free","destinationUrl":"https://rocketnotes.example/"}}' \
  https://api.sidezignal.com/v1/org/creatives
```

### `GET /v1/org/creatives/{id}`

One ad: its working copy (draft), its status, which version is approved, and any reviewer’s note. *Needs: any key.*

### `PATCH /v1/org/creatives/{id}`

Change an ad’s working copy. An approved version keeps running until the new one is approved. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `name` | string | no | Up to 80 characters. |
| `platforms` | "ios" \| "android" \| "desktop"[] \| null | no |  |
| `draft.headline` | string | no | Up to 60 characters. |
| `draft.description` | string | no | Up to 140 characters. Default: "". |
| `draft.cta` | string | no | The button's words. Up to 20 characters. |
| `draft.destinationUrl` | string | no | Where a click leads. Up to 2048 characters. |
| `draft.imagePath` | string \| null | no | The `path` of one of your library images, or null for none. Default: null. |
| `draft.imageAlt` | string | no | What the image shows, for screen readers. Up to 140 characters. Default: "". |

```
curl -X PATCH -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"draft":{"headline":"Never lose an idea again"}}' \
  https://api.sidezignal.com/v1/org/creatives/{id}
```

### `DELETE /v1/org/creatives/{id}`

Delete an ad that has never been in review or live. *Needs: full access.*

### `POST /v1/org/creatives/{id}/{action}`

Move an ad along. action is one of: submit, withdraw. Submitting also submits its campaign. *Needs: full access.*

### `GET /v1/org/images`

Your image library. An image’s path is what an ad’s draft.imagePath or a product’s iconPath takes. *Needs: any key.*

### `POST /v1/org/images`

Add an image to the library, base64-encoded. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `name` | string | yes | Up to 80 characters. |
| `contentType` | "image/png" \| "image/jpeg" \| "image/webp" | yes |  |
| `data` | string | yes | The image's bytes, base64-encoded. |
| `alt` | string | no | What it shows, for screen readers; copied into an ad when the image is used. Up to 140 characters. Default: "". |

```
curl -X POST -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"name":"Logo","contentType":"image/png","data":"<base64>","alt":"Rocket Notes logo"}' \
  https://api.sidezignal.com/v1/org/images
```

### `PATCH /v1/org/images/{id}`

Rename or describe an image. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `name` | string | no | Up to 80 characters. |
| `alt` | string | no | Up to 140 characters. |

```
curl -X PATCH -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"alt":"Rocket Notes logo"}' \
  https://api.sidezignal.com/v1/org/images/{id}
```

### `DELETE /v1/org/images/{id}`

Delete an image nothing uses. *Needs: full access.*

## Measure, and look after your sites

How your ads did, what your sites showed, and what to do about an ad you do not want.

### `GET /v1/org/stats`

Daily figures. ?side=advertiser (your ads on others’ sites, the default) or publisher (ads on yours); ?from= and ?to= as YYYY-MM-DD, the last 30 days by default. *Needs: any key.*

### `POST /v1/org/stats/refresh`

Bring the figures up to date now instead of waiting for the next scheduled run. *Needs: full access.*

### `GET /v1/org/ads-on-sites`

Every ad other members show on your sites: as it looks, where it can appear and appeared, and how it did. *Needs: any key.*

### `POST /v1/org/ads-on-sites/{id}/report`

Report an ad that appeared on one of your sites to the moderators. {id} is its creativeId. *Needs: full access.*

| field | type | required | notes |
| --- | --- | --- | --- |
| `reason` | "misleading" \| "inappropriate" \| "broken" \| "other" | yes |  |
| `details` | string | no | Up to 500 characters. Default: "". |

```
curl -X POST -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"reason":"misleading","details":"Claims more than it does."}' \
  https://api.sidezignal.com/v1/org/ads-on-sites/{id}/report
```

### `PUT /v1/org/blocked-products/{id}`

Block a product on every one of your sites. {id} is its productId; send { "name": "…" } to label it. *Needs: full access.*

### `DELETE /v1/org/blocked-products/{id}`

Lift that block. *Needs: full access.*

### `GET /v1/org/network`

Every spot on the network that can show an ad right now, with the formats it takes and what it refuses. *Needs: any key.*
