Social Perks Campaigns API

Create, launch, and manage campaigns

GitHub OpenAPI

Operations 2

GET /campaigns List campaigns #
POST /campaigns Create or launch a 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/socialperks-app:socialperks-app-campaigns-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

socialperks-app-campaigns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Social Perks Campaigns API
  version: 1.0.0
  summary: Marketing actions in exchange for perks
  description: Social Perks is a marketing platform where businesses offer perks (discounts, free items, cash back) to customers and influencers in exchange for marketing actions across 25 social platforms (125 actions total). This API exposes pricing, action discovery, campaign management, submission tracking, and the OAuth-style agent key-issuance flow described at https://socialperks.app/AGENTS.md.
  contact:
    name: Social Perks
    url: https://socialperks.app
  license:
    name: Proprietary
servers:
- url: https://socialperks.app/api/v1
  description: Production
tags:
- name: Campaigns
  description: Create, launch, and manage campaigns
paths:
  /campaigns:
    get:
      tags:
      - Campaigns
      summary: List campaigns
      security:
      - BearerAuth: []
      - ApiKey: []
      parameters:
      - name: businessId
        in: query
        schema:
          type: string
      - name: status
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Campaign list
      operationId: getCampaigns
      x-operation-id-source: derived
    post:
      tags:
      - Campaigns
      summary: Create or launch a campaign
      security:
      - BearerAuth: []
      - ApiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - actionId
              - platformId
              - rewardType
              - rewardValue
              properties:
                actionId:
                  type: string
                platformId:
                  type: string
                rewardType:
                  type: string
                  enum:
                  - pct
                  - amount
                  - free_item
                rewardValue:
                  type: number
      responses:
        '201':
          description: Campaign created
      operationId: postCampaigns
      x-operation-id-source: derived
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API key (sp_live_... or sp_test_...). Recommended for agents.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT issued by /api/v1/auth.