Trend Campaign API

The Campaign API from Trend — 19 operation(s) for campaign.

Operations 19

GET /campaign/draft #
PATCH /campaign/draft/{campaignId} #
PATCH /campaign/submit/{campaignId} #
GET /campaign/submissions/{campaignId} #
GET /campaign/{campaignId} #
PATCH /campaign/update/{campaignId} #
PATCH /campaign/{campaignId}/bump #
PATCH /campaign/{campaignId}/archive #
PATCH /campaign/{campaignId}/reactivate #
PATCH /campaign/{campaignId}/relist #
PATCH /campaign/{campaignId}/unlist #
PATCH /campaign/approve-partnership/{campaignId}/{partnershipId} #
PATCH /campaign/invite-creator/{campaignId}/{creatorId} #
PATCH /campaign/remove-creator/{campaignId}/{partnershipId} #
PATCH /campaign/admin-remove-creator/{campaignId}/{partnershipId} #
PATCH /campaign/{campaignId}/increment-download #
GET /campaign/admin/overdue #
GET /campaign/admin/{brandId}/first-campaign #
PATCH /campaign/admin/{campaignId}/bump #

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/trend-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

trend-campaign-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trend API - 1.28.31 Campaign API
  description: OpenAPI documentation for the Trend NestJS API. For additional engineering documentation, visit <a href="https://trendio.notion.site/Trend-Engineering-1ade0c83fcf741a1acb45b73282caf4f" target="_blank"> The Trend Engineering Wiki</a>
  version: 1.28.31
  contact: {}
servers:
- url: https://api.trend.io
  description: 'Production Trend API (host serving /docs-json; root returns "Success! trend-api Version: 1.28.31")'
security:
- access-token: []
tags:
- name: Campaign
paths:
  /campaign/draft:
    get:
      operationId: CampaignController_findOneDraftByBrand
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      tags:
      - Campaign
  /campaign/draft/{campaignId}:
    patch:
      operationId: CampaignController_updateDraft
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateDraftCampaignDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      tags:
      - Campaign
  /campaign/submit/{campaignId}:
    patch:
      operationId: CampaignController_submitCampaign
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitCampaignDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      tags:
      - Campaign
  /campaign/submissions/{campaignId}:
    get:
      operationId: CampaignController_getCampaignSubmissions
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignContentSubmissionsResponse'
      tags:
      - Campaign
  /campaign/{campaignId}:
    get:
      operationId: CampaignController_getCampaign
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      tags:
      - Campaign
  /campaign/update/{campaignId}:
    patch:
      operationId: CampaignController_updateCampaign
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateActiveCampaign'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      tags:
      - Campaign
  /campaign/{campaignId}/bump:
    patch:
      operationId: CampaignController_bumpCampaign
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Campaign
  /campaign/{campaignId}/archive:
    patch:
      operationId: CampaignController_brandArchiveCampaign
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Campaign
  /campaign/{campaignId}/reactivate:
    patch:
      operationId: CampaignController_brandReactivateCampaign
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Campaign
  /campaign/{campaignId}/relist:
    patch:
      operationId: CampaignController_brandRelistCampaign
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Campaign
  /campaign/{campaignId}/unlist:
    patch:
      operationId: CampaignController_brandUnlistCampaign
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Campaign
  /campaign/approve-partnership/{campaignId}/{partnershipId}:
    patch:
      operationId: CampaignController_approvePartnership
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      - name: partnershipId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      tags:
      - Campaign
  /campaign/invite-creator/{campaignId}/{creatorId}:
    patch:
      operationId: CampaignController_inviteCreator
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      - name: creatorId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InviteCreatorBodyDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      tags:
      - Campaign
  /campaign/remove-creator/{campaignId}/{partnershipId}:
    patch:
      operationId: CampaignController_removeCreator
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      - name: partnershipId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RemoveCreatorBodyDto'
      responses:
        '200':
          description: ''
      tags:
      - Campaign
  /campaign/admin-remove-creator/{campaignId}/{partnershipId}:
    patch:
      operationId: CampaignController_adminRemoveCreator
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      - name: partnershipId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Campaign
      security:
      - admin-api-key: []
  /campaign/{campaignId}/increment-download:
    patch:
      operationId: CampaignController_incrementDownload
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncrementDownloadDto'
      responses:
        '200':
          description: ''
      tags:
      - Campaign
  /campaign/admin/overdue:
    get:
      operationId: CampaignController_getOverdueCampaigns
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      tags:
      - Campaign
      security:
      - admin-api-key: []
  /campaign/admin/{brandId}/first-campaign:
    get:
      operationId: CampaignController_getFirstCampaign
      parameters:
      - name: brandId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      tags:
      - Campaign
      security:
      - admin-api-key: []
  /campaign/admin/{campaignId}/bump:
    patch:
      operationId: CampaignController_adminBumpCampaign
      parameters:
      - name: campaignId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Campaign
      security:
      - admin-api-key: []
components:
  schemas:
    CampaignContentSubmissionsResponse:
      type: object
      properties:
        submissions:
          type: array
          items:
            type: object
        approvals:
          type: array
          items:
            type: object
      required:
      - submissions
      - approvals
    UpdateActiveCampaign:
      type: object
      properties:
        category:
          type: string
          enum:
          - pet
          - fashion
          - other
          - trending
          - food
          - technology
          - beverages
          - beauty
          - boxes
          - adventure
          - wellness
          - home
          - fitness
          - travel
          - sports
        platform:
          type: string
          enum:
          - instagram
          - tiktok
          - facebook
          - youtube
          - amazon
          - generalUse
        styleCategory:
          type: array
          items:
            type: string
            enum:
            - productPhotography
            - lifestyleOrActionPhotography
            - portraitStylePhotography
            - actionOrProductInUseVideo
            - unboxingExplanationVideo
            - productReviewOrTestimonialVideo
            - other
        gender:
          type:
          - string
          - 'null'
          enum:
          - male
          - female
          - other
          - null
        name:
          type: string
        url:
          type: string
        value:
          type: number
        userFullName:
          type: string
        companyName:
          type: string
    UpdateDraftCampaignDto:
      type: object
      properties:
        type:
          type: string
          enum:
          - image
          - video
          - social
        category:
          type: string
          enum:
          - pet
          - fashion
          - other
          - trending
          - food
          - technology
          - beverages
          - beauty
          - boxes
          - adventure
          - wellness
          - home
          - fitness
          - travel
          - sports
        platform:
          type: string
          enum:
          - instagram
          - tiktok
          - facebook
          - youtube
          - amazon
          - generalUse
        styleCategory:
          type: array
          items:
            type: string
            enum:
            - productPhotography
            - lifestyleOrActionPhotography
            - portraitStylePhotography
            - actionOrProductInUseVideo
            - unboxingExplanationVideo
            - productReviewOrTestimonialVideo
            - other
        gender:
          type:
          - string
          - 'null'
          enum:
          - male
          - female
          - other
          - null
        name:
          type: string
        url:
          type: string
        value:
          type: number
        userFullName:
          type: string
        companyName:
          type: string
    InviteCreatorBodyDto:
      type: object
      properties:
        rehireContentNeeds:
          type: string
        rehireWillBrandSendProduct:
          type: boolean
        rehireProductDescription:
          type: string
      required:
      - rehireContentNeeds
      - rehireWillBrandSendProduct
    RemoveCreatorBodyDto:
      type: object
      properties:
        removalReason:
          type: string
      required:
      - removalReason
    IncrementDownloadDto:
      type: object
      properties:
        count:
          type: number
          minimum: 0
        creatorId:
          type: string
        partnershipId:
          type: string
        type:
          type: string
    SubmitCampaignDto:
      type: object
      properties:
        userFullName:
          type: string
        companyName:
          type: string
        type:
          type: string
          enum:
          - image
          - video
          - social
        category:
          type: string
          enum:
          - pet
          - fashion
          - other
          - trending
          - food
          - technology
          - beverages
          - beauty
          - boxes
          - adventure
          - wellness
          - home
          - fitness
          - travel
          - sports
        platform:
          type: string
          enum:
          - instagram
          - tiktok
          - facebook
          - youtube
          - amazon
          - generalUse
        styleCategory:
          type: array
          items:
            type: string
            enum:
            - productPhotography
            - lifestyleOrActionPhotography
            - portraitStylePhotography
            - actionOrProductInUseVideo
            - unboxingExplanationVideo
            - productReviewOrTestimonialVideo
            - other
        gender:
          type:
          - string
          - 'null'
          enum:
          - male
          - female
          - other
          - null
        name:
          type: string
        url:
          type: string
        value:
          type: number
      required:
      - type
      - category
      - platform
      - styleCategory
      - gender
      - name
      - url
      - value
  securitySchemes:
    access-token:
      scheme: bearer
      bearerFormat: JWT
      type: http
    admin-api-key:
      type: apiKey
      in: header
      name: trend-api-key