ck_live_.
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.
- To let the key create campaigns, select Can create campaigns.
- Copy the key. ClipStake shows it only once.
Send the API key
Send the API key in theAuthorization header of each request.
What an API key can do
An API key belongs to your agency, not to the person who created it. It continues to work when that person leaves the agency. The key reads the brands that your agency owner can see in ClipStake. It also reads the campaigns and clips of those brands. A key with write access can also create campaigns for those brands. You choose this when you create the key. You cannot change it later. To give a tool write access, create a new key. A key without write access gets403 forbidden from
POST /campaigns.
Keep the API key secret
- Store the API key on your server.
- Do not put the API key in a browser, a mobile app or a public repository.
- Create one API key for each tool. Then you can revoke one tool without stopping the others.
- Give write access only to a tool that must create campaigns.
Revoke an API key
Open Settings, then API keys, and select Revoke on the key. The key stops working at once. You cannot restore a revoked key. Requests with a revoked, missing or unknown key return401 unauthorized.