1. Create an API key
- Sign in to the ClipStake web app.
- Open Settings, then API keys.
- Select Create API key and give the key a name.
- Copy the key. ClipStake shows it only once.
2. List your campaigns
data has an id that starts with cmp_. Copy one ID for
the next steps.
To list the campaigns of one brand, add brand_id:
3. Read the campaign metrics
4. Page through the clips
To list only some clips, addstatus or platform. For example,
?status=approved&platform=instagram lists the approved Instagram clips.
A list returns up to 25 items by default. Send next_cursor back as cursor
to get the next page. Stop when next_cursor is null.
Next steps
- Read Pagination before you follow a cursor with filters.
- Read Errors to handle each error code.