Skip to main content
POST
/
teams
/
groups
Create a permission group
curl --request POST \
  --url https://app.autoposting.ai/api-proxy/teams/groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Content Editor",
  "permissions": [
    "posts:read",
    "posts:write",
    "brands:read"
  ]
}
'
{
  "success": true,
  "data": {
    "id": "group_01HXYZ",
    "name": "Content Editor",
    "permissions": [
      "posts:read",
      "posts:write",
      "brands:read"
    ],
    "memberCount": 0
  }
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Body

application/json
name
string
required
Example:

"Content Editor"

permissions
string[]
required
Example:
["posts:read", "posts:write", "brands:read"]

Response

Success

success
boolean
required
Example:

true

data
object
required