Developer API
For scripts, backends and automation tools.
- 1 Open Workspace › Settings › API keys and create a key. Give it only the scopes it needs. The key is shown once.
- 2 Send it in the
X-API-Keyheader. A key belongs to one workspace and only sees that workspace's accounts and data. - 3Publish, schedule and pull analytics from your own code. Rate limits and expiry are per key.
curl https://api.socialpatra.com/api/v1/socialpatra/auth/whoami \
-H "X-API-Key: sp_live_…"