FoPost · Schema

CreateReachFrequencyRequest

CompanySocial MediaAPI PlatformAutomationMarketing

Properties

Name Type Description
workspaceId string
connectionId string An ad connection in the workspace
adAccountId string Ad account id as the network addresses it: `act_…` on Meta, `urn:li:sponsoredAccount:…` on LinkedIn
name string
targeting object
placements array
budgetMinor integer
startAt string
endAt string
frequencyCap integer How often one person should see the ad over the flight
View JSON Schema on GitHub

JSON Schema

fopost-com-create-reach-frequency-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fopost-com/json-schema/fopost-com-create-reach-frequency-request-schema.json",
  "title": "CreateReachFrequencyRequest",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fopost-com-openapi.json#/components/schemas/CreateReachFrequencyRequest",
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "format": "uuid"
    },
    "connectionId": {
      "type": "string",
      "format": "uuid",
      "description": "An ad connection in the workspace"
    },
    "adAccountId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Ad account id as the network addresses it: `act_…` on Meta, `urn:li:sponsoredAccount:…` on LinkedIn"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "targeting": {
      "type": "object",
      "properties": {
        "countries": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 2,
            "maxLength": 2
          },
          "maxItems": 50,
          "description": "ISO 3166-1 alpha-2 codes. At least one country or one location is required."
        },
        "ageMin": {
          "type": "integer",
          "minimum": 13,
          "maximum": 65
        },
        "ageMax": {
          "type": "integer",
          "minimum": 13,
          "maximum": 65
        },
        "gender": {
          "type": "string",
          "enum": [
            "all",
            "male",
            "female"
          ]
        },
        "audienceIds": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "maxItems": 20
        },
        "locations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 255
              },
              "type": {
                "type": "string",
                "enum": [
                  "region",
                  "city",
                  "zip",
                  "geo_market"
                ]
              }
            },
            "required": [
              "key",
              "name",
              "type"
            ]
          },
          "maxItems": 200,
          "description": "Locations below country level, from `GET /v1/ads/targeting/search`"
        },
        "interests": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 255
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "maxItems": 100
        },
        "behaviors": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 255
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "maxItems": 100
        },
        "income": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 255
              }
            },
            "required": [
              "id",
              "name"
            ]
          },
          "maxItems": 10
        },
        "facets": {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 255
                }
              },
              "required": [
                "id",
                "name"
              ]
            },
            "maxItems": 100
          },
          "description": "Facets the network defines for itself, keyed by the type used with `GET /v1/ads/targeting/search` — `job_title`, `company_size`, `industry` and the rest of the B2B set on LinkedIn."
        }
      },
      "required": [
        "countries",
        "ageMin",
        "ageMax",
        "gender"
      ]
    },
    "placements": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 30
      },
      "minItems": 1,
      "maxItems": 10
    },
    "budgetMinor": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 100000000
    },
    "startAt": {
      "type": "string",
      "format": "date-time"
    },
    "endAt": {
      "type": "string",
      "format": "date-time"
    },
    "frequencyCap": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "How often one person should see the ad over the flight"
    }
  },
  "required": [
    "workspaceId",
    "connectionId",
    "adAccountId",
    "name",
    "targeting",
    "placements",
    "budgetMinor",
    "startAt",
    "endAt"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/fopost-com-create-reach-frequency-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.