GET
/
public
/
v1
/
campaign-service
/
campaigns

Query Parameters

vendor_id
string

The ID of the vendor. Omit to get campaigns for all vendors.

Minimum length: 1
status
enum<string>

Filter by the approval status of banner campaigns.

Available options:
approved,
pending,
rejected
offset
integer
default: 0

The pagination offset.

Required range: x > 0
limit
integer
default: 100

The pagination limit.

Required range: 0 < x < 100
is_active
boolean

Filter by active/inactive campaigns.

sort_by_date
enum<string>

Optional sort by date of campaign creation.

Available options:
asc,
desc

Response

200 - application/json

The campaigns response.

campaigns
object[]
required

An array of campaigns.

hasMore
boolean
required

Whether this is the last page of results or not.

next
object

The parameters that should be used to fetch the next page.