Get campaign by ID
Get one campaign in your organization with its full details. Pass an id from list_campaigns.
apiKeyAuthx-api-key<token>API key for authentication. Keys are prefixed with cops_.
id*string^prj_.+[\s\S]*$Response schema unavailable.
curl -X GET 'https://cops.app/api/brand/campaigns/string'Create campaign POST
Create a new campaign in your organization. Only name is required; an optional managerUserId must be a staff member (owner/admin/manager) of the org. Optional links is an ordered list of helpful links ({ title, url }, at most 10, http or https only) shown to creators who join. Returns the created campaign.
Update campaign PATCH
Update a campaign in your organization (only the fields you pass change: name, url, description, logo, color, startDate, active, managerUserId, payoutStructureId, requiresDraftApproval, links). links is the full ordered list of helpful links ({ title, url }, at most 10, http or https only) creators see in onboarding and on the campaign page; it replaces the existing list. requiresDraftApproval true flags posts published since it was turned on that do not match an approved draft. Passing true while it is already on keeps the original start date; passing false clears it, so turning it on again later starts from that later date. Pass "" or null for an optional field to clear it. Pass an id from list_campaigns.