get
https://api.omnisend.com/api/campaigns
List campaigns with filtering, sorting, and cursor-based pagination.
Scopes:
campaigns.read
Rate Limiting:
This endpoint is rate limited to 400 requests per minute.
Filtering & sorting:
Supported query parameters: nameContains, status, channel, type, parentCampaignID, createdAtFrom/createdAtTo, updatedAtFrom/updatedAtTo, sort, direction, limit, after, before. Only these documented parameters are accepted; any unknown parameter returns 400.
sortacceptscreatedAt,updatedAt, orname;direction(asc/desc) is only valid together withsort.
Pagination:
This endpoint uses cursor-based pagination.
- Use the
paging.cursors.aftervalue from the response to get the next page - Use the
paging.cursors.beforevalue to get the previous page - The
paging.hasMorefield indicates if more results are available - Maximum page size is 250 items. Default: 100
- Do not send
afterandbeforetogether, and keep filters and sorting unchanged while paginating with a cursor