Campaigns

Lists the project’s campaigns.

Only campaigns someone made are listed. Posts created without a campaign_id are grouped internally so the product has somewhere to put them; those groupings are not campaigns you can act on and never appear here.

Paginate with cursor: pass the next_cursor from the previous page. It is absent on the last page.

Requires the posts:read scope.

get/projects/{project_id}/campaigns

Request

  • Base URL: https://api.productbyte.com/v1
  • URL: https://api.productbyte.com/v1/projects/{project_id}/campaigns
  • Auth: HTTP bearer

Path parameters

project_idstring required

The project to list campaigns for.

Query parameters

limitinteger

Page size, 1–100.

cursorstring

A next_cursor from a previous page.

Response

A page of campaigns.

next_cursorstring

Pass as cursor to fetch the next page. Absent when there are no more.

Changes