SocialKit
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.

EndpointsAdminMemberViewer
Ping, List your workspacesYesYesYes
Accounts: list, get, list actionsYesYesYes
Accounts: run an actionYesYesNo
Analytics, including post analyticsYesYesYes
Posts: list, get, approveYesYesYes
Posts: create, update, delete, schedule, add to queue, retryYesYesNo
Media: list, get, list foldersYesYesYes
Media: upload (all methods), update, delete, create, update or delete foldersYesYesNo
Tags: every endpoint, reads includedYesYesNo
Mentions: every endpoint, reads includedYesYesNo

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 /tags and GET /mentions return 403 for 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.