Campaigns

/campaigns/{campaign_id}

Changed on

Returns one campaign.

Requires the posts:read scope.

get/projects/{project_id}/campaigns/{campaign_id}

Request

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

Path parameters

project_idstring required

The project the campaign belongs to.

campaign_idstring required

The campaign to read.

Response

The campaign.

idstring required

Pass this as campaign_id when creating a post.

namestring required

The campaign’s name.

start_datestring date-time

When the campaign starts, when a start day is set. Normalized to midnight UTC on that day — it is a date the product shows, not a scheduling instruction.

post_countinteger required

How many posts belong to it.

created_atstring date-time required

When the campaign was created.

updated_atstring date-time required

When it last changed.

Changes