SponsorUnited Campaign API

Campaign

Operations 4

GET /api/campaign List all campaigns #
POST /api/campaign Create a new campaign #
POST /api/campaign/{id}/meta Update campaign metadata #
GET /api/campaign/draft Get draft campaign #

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/sponsorunited-campaign-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

sponsorunited-campaign-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SponsorUnited Campaign API
  version: v1
  description: Campaign
tags:
- name: Campaign
  description: Campaign
paths:
  /api/campaign:
    get:
      tags:
      - Campaign
      summary: List all campaigns
      description: Retrieves a list of all campaigns for the authenticated user.
      operationId: ce69497e98cccfa18649dece699570fd
      responses:
        '200':
          description: List of campaigns.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - bearerAuth: []
    post:
      tags:
      - Campaign
      summary: Create a new campaign
      description: Creates a new campaign for the authenticated user.
      operationId: e8348bef63e3bb96a143ee46402cccab
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
              - entityId
              - entityType
              properties:
                entityId:
                  description: The entity ID
                  type: integer
                entityType:
                  description: The entity type
                  type: string
              type: object
      responses:
        '200':
          description: Campaign creation result.
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  data:
                    type: object
                type: object
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - bearerAuth: []
  /api/campaign/{id}/meta:
    post:
      tags:
      - Campaign
      summary: Update campaign metadata
      description: Creates or replaces metadata entries for a specific campaign.
      operationId: 4563fbc3450f25c86bd32aa0d811397f
      parameters:
      - name: id
        in: path
        description: The ID of the campaign.
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
              - type
              - data
              properties:
                type:
                  description: The metadata type prefix
                  type: string
                data:
                  description: Key-value pairs of metadata
                  type: object
              type: object
      responses:
        '200':
          description: Campaign metadata updated.
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  data:
                    type:
                    - object
                    - 'null'
                type: object
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - bearerAuth: []
  /api/campaign/draft:
    get:
      tags:
      - Campaign
      summary: Get draft campaign
      description: Retrieves the current user's draft campaign with its metadata.
      operationId: 710500032cf488a2308d634c724ebec0
      responses:
        '200':
          description: The draft campaign or null if none exists.
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  data:
                    type:
                    - object
                    - 'null'
                type: object
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      name: JWT Authentication
      in: header
      bearerFormat: JWT
      scheme: bearer
    apiKeyAuth:
      type: apiKey
      description: 'Service API key for external services (ai-api, chat-api). Generate with: php artisan su:api-token:generate'
      name: X-API-Key
      in: header