GET
/
public
/
v1
/
campaign-service
/
campaigns

Query Parameters

vendor_id
string

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

status
enum<string>

Filter by the approval status of banner campaigns.

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

The pagination offset.

limit
integer
default: 100

The pagination limit.

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
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.