APIGet Started
Permissions
Which SocialKit API endpoints each workspace role (Admin, Member, Viewer) can call.
A personal key has no scopes of its own. What it can do depends on the role its user has in the workspace named in the URL. A user who is not part of that workspace gets 403 on every endpoint of it.
Admin and Member have the same rights in the API. Only Viewer is limited.
| Endpoints | Admin | Member | Viewer |
|---|---|---|---|
| Ping, List your workspaces | Yes | Yes | Yes |
| Accounts: list, get, list actions | Yes | Yes | Yes |
| Accounts: run an action | Yes | Yes | No |
| Analytics, including post analytics | Yes | Yes | Yes |
| Posts: list, get, approve | Yes | Yes | Yes |
| Posts: create, update, delete, schedule, add to queue, retry | Yes | Yes | No |
| Media: list, get, list folders | Yes | Yes | Yes |
| Media: upload (all methods), update, delete, create, update or delete folders | Yes | Yes | No |
| Tags: every endpoint, reads included | Yes | Yes | No |
| Mentions: every endpoint, reads included | Yes | Yes | No |
Things that catch people out:
- Viewers may approve posts, yet they cannot create them.
- A Viewer can read media but cannot upload it or check the status of an upload from a URL.
- A Viewer cannot read tags or mentions, so
GET /tagsandGET /mentionsreturn403for a Viewer. - To approve a post, the user also needs approval rights in the workspace.
Refused calls return 403 with {"message": "Access forbidden."} or a message that names the reason. See Errors.