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.
apiKeyAuthheader
x-api-key<token>API key for authentication. Keys are prefixed with cops_.
application/json- body
name*stringLength
1 <= lengthurl?unknown||nulldescription?unknown|string|nulllogo?unknown||nullcolor?unknown|string|nullstartDate?stringFormat
date-timeplatforms?array<>Default
[]managerUserId?unknown||nullactive?booleanDefault
truelinks?array<>Items
items <= 10Response schema unavailable.
curl -X POST 'https://cops.app/api/brand/campaigns' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response200
Empty
List campaigns GET
List the campaigns in your organization, each with a count of the accounts posting in it. Supports free-text search (q) and a result limit. Use a returned campaign id with get_campaign or as a campaignIds filter elsewhere.
Get campaign by ID GET
Get one campaign in your organization with its full details. Pass an id from list_campaigns.