List all campaigns
GET/api/campaign
List all campaigns
Request
Query Parameters
Possible values: >= 1
Page number
Possible values: >= 1 and <= 100
Number of items per page
Query string for campaign name
Responses
- 200
- default
Campaigns
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
items object[]required
An array of campaigns.
The unique identifier of the campaign.
The name of the campaign.
The id of the influencer.
Optional main image of the campaign
The unique identifier of the company.
The details of the campaign.
images object[]required
An array of images associated with the campaign.
The unique identifier of the campaign media.
The unique identifier of the campaign.
The URL of the campaign media.
Possible values: [waiting_user_approval, approved, declined]
Campaign media status
The caption of the campaign media.
videos object[]required
An array of videos associated with the campaign.
The unique identifier of the campaign media.
The unique identifier of the campaign.
The URL of the campaign media.
Possible values: [waiting_user_approval, approved, declined]
Campaign media status
The caption of the campaign media.
budget objectrequired
Amount object
The value of the amount.
The currency of the amount.
The id of the product.
Possible values: [created, running, completed, stopped]
Campaign status
Possible values: [art_and_design, automobiles, beauty, beverages, books_and_literature, career_and_business, children_toys_and_games, diy, e_commerce, education, events_and_entertainment, fashion, finance_and_insurance, food, gardening_and_outdoor, health_and_fitness, hobbies_and_crafts, home_and_living, home_appliences, legal_services, mobile_games, news, non_profit_and_charity, office_supplies, parenting_and_family_products, personal_development, pets, photography, podcasts, real_estate, social_media_tools, sports_and_outdoor_activities, streaming, subscription_box, technology, travel, video_games, wedding]
The categories of the campaign.
Possible values: [eco_friendly, no_animal_testing, halal, kosher, vegan, vegetarian, lgbtq, diverse_leadership]
The restrictions of the campaign.
The start time of the campaign.
The end time of the campaign.
The total number of campaigns.
{
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"influencer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"image": "string",
"company_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"details": "string",
"images": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"campaign_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"url": "string",
"status": "waiting_user_approval",
"caption": "string"
}
],
"videos": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"campaign_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"url": "string",
"status": "waiting_user_approval",
"caption": "string"
}
],
"budget": {
"value": "string",
"currency": "string"
},
"product_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "created",
"categories": [
"art_and_design"
],
"restrictions": [
"eco_friendly"
],
"start_time_utc": "2024-09-13T10:30:55.754Z",
"end_time_utc": "2024-09-13T10:30:55.754Z"
}
],
"total": 0
}
unexpected error
- application/json
- Schema
- Example (from schema)
Schema
The error code
A human-readable error message
{
"code": 0,
"message": "string"
}