ShortKit Ad Configuration API

How ad slots are interleaved into the feed.

Operations 2

GET /ad-config Get Ad Config #
PUT /ad-config Update Ad Config #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/shortkit-ad-configuration-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

shortkit-ad-configuration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ShortKit Ad Configuration API
  version: v1
  description: The ShortKit API lets you manage content, uploads, live streams, surveys, analytics, and ad configuration for your short-form vertical video feeds. It is organized around REST, uses standard HTTP methods, returns JSON wrapped in a standard envelope, and uses conventional HTTP status codes. All requests must be made over HTTPS.
  contact:
    name: ShortKit
    url: https://www.shortkit.dev
  x-logo:
    url: https://www.shortkit.dev/icon.svg
servers:
- url: https://api.shortkit.dev/v1
  description: Production (base URL; environment is selected by the API key prefix — live vs test)
security:
- SecretKey: []
tags:
- name: Ad Configuration
  description: How ad slots are interleaved into the feed.
paths:
  /ad-config:
    get:
      operationId: getAdConfig
      summary: Get Ad Config
      tags:
      - Ad Configuration
      responses:
        '200':
          $ref: '#/components/responses/AdConfigEnvelope'
    put:
      operationId: updateAdConfig
      summary: Update Ad Config
      tags:
      - Ad Configuration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdConfig'
      responses:
        '200':
          $ref: '#/components/responses/AdConfigEnvelope'
components:
  responses:
    AdConfigEnvelope:
      description: The ad configuration.
      content:
        application/json:
          schema:
            type: object
            properties:
              data:
                $ref: '#/components/schemas/AdConfig'
              meta:
                $ref: '#/components/schemas/Meta'
  schemas:
    AdConfig:
      type: object
      properties:
        enabled:
          type: boolean
          default: false
        frequency:
          type: integer
          default: 5
        firstAdOffset:
          type: integer
          default: 3
        maxPerPage:
          type: integer
          default: 3
        adTagUrl:
          type: string
          nullable: true
        adUnitId:
          type: string
          nullable: true
        skipPolicy:
          type: string
          default: skippable_after
        skipDelaySeconds:
          type: integer
          default: 5
        defaultTargeting:
          type: object
          additionalProperties: true
        nativeEnabled:
          type: boolean
          default: false
        nativeFormatId:
          type: string
          nullable: true
        nativeAdUnitId:
          type: string
          nullable: true
        nativeVideoUrlKey:
          type: string
          default: video_url
        nativeHeadlineKey:
          type: string
          default: headline
        nativeCtaKey:
          type: string
          default: cta_text
        nativeSponsorKey:
          type: string
          default: sponsor_name
        nativeSponsorLogoKey:
          type: string
          default: sponsor_logo
    Meta:
      type: object
      description: Envelope metadata. Always includes request_id; nextCursor present when more results exist.
      properties:
        request_id:
          type: string
          example: req_abc123def456
        nextCursor:
          type: string
          nullable: true
  securitySchemes:
    PublishableKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Publishable key (prefix pk_{env}_). Read-only access to published content plus event ingestion and survey-response submission. Safe for client-side/mobile use.
    SecretKey:
      type: http
      scheme: bearer
      description: Secret key (prefix sk_{env}_) sent as a Bearer token. Full management access. Server-side only; bcrypt-hashed at rest and shown once at creation.