Trend Campaign API
The Campaign API from Trend — 19 operation(s) for campaign.
The Campaign API from Trend — 19 operation(s) for campaign.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/trend:trend-campaign-api"
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.
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: 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 The Trend Engineering Wiki
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
summary: Campaign controller find one draft by brand
x-summary-source: derived
/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
summary: Campaign controller update draft
x-summary-source: derived
/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
summary: Campaign controller submit campaign
x-summary-source: derived
/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
summary: Campaign controller get campaign submissions
x-summary-source: derived
/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
summary: Campaign controller get campaign
x-summary-source: derived
/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
summary: Campaign controller update campaign
x-summary-source: derived
/campaign/{campaignId}/bump:
patch:
operationId: CampaignController_bumpCampaign
parameters:
- name: campaignId
required: true
in: path
schema:
type: string
responses:
'200':
description: ''
tags:
- Campaign
summary: Campaign controller bump campaign
x-summary-source: derived
/campaign/{campaignId}/archive:
patch:
operationId: CampaignController_brandArchiveCampaign
parameters:
- name: campaignId
required: true
in: path
schema:
type: string
responses:
'200':
description: ''
tags:
- Campaign
summary: Campaign controller brand archive campaign
x-summary-source: derived
/campaign/{campaignId}/reactivate:
patch:
operationId: CampaignController_brandReactivateCampaign
parameters:
- name: campaignId
required: true
in: path
schema:
type: string
responses:
'200':
description: ''
tags:
- Campaign
summary: Campaign controller brand reactivate campaign
x-summary-source: derived
/campaign/{campaignId}/relist:
patch:
operationId: CampaignController_brandRelistCampaign
parameters:
- name: campaignId
required: true
in: path
schema:
type: string
responses:
'200':
description: ''
tags:
- Campaign
summary: Campaign controller brand relist campaign
x-summary-source: derived
/campaign/{campaignId}/unlist:
patch:
operationId: CampaignController_brandUnlistCampaign
parameters:
- name: campaignId
required: true
in: path
schema:
type: string
responses:
'200':
description: ''
tags:
- Campaign
summary: Campaign controller brand unlist campaign
x-summary-source: derived
/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
summary: Campaign controller approve partnership
x-summary-source: derived
/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
summary: Campaign controller invite creator
x-summary-source: derived
/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
summary: Campaign controller remove creator
x-summary-source: derived
/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: []
summary: Campaign controller admin remove creator
x-summary-source: derived
/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
summary: Campaign controller increment download
x-summary-source: derived
/campaign/admin/overdue:
get:
operationId: CampaignController_getOverdueCampaigns
parameters: []
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
tags:
- Campaign
security:
- admin-api-key: []
summary: Campaign controller get overdue campaigns
x-summary-source: derived
/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: []
summary: Campaign controller get first campaign
x-summary-source: derived
/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: []
summary: Campaign controller admin bump campaign
x-summary-source: derived
components:
schemas:
IncrementDownloadDto:
type: object
properties:
count:
type: number
minimum: 0
creatorId:
type: string
partnershipId:
type: string
type:
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
CampaignContentSubmissionsResponse:
type: object
properties:
submissions:
type: array
items:
type: object
approvals:
type: array
items:
type: object
required:
- submissions
- approvals
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
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
RemoveCreatorBodyDto:
type: object
properties:
removalReason:
type: string
required:
- removalReason
securitySchemes:
access-token:
scheme: bearer
bearerFormat: JWT
type: http
admin-api-key:
type: apiKey
in: header
name: trend-api-key