Skip to content

Groups

A group is one brand's connected accounts. A key sees only the groups it was given.

3 endpoints

GET/groups/{groupId}

One social group with its accounts

Any key

Path

  • groupIduuidrequired

    A social group id from GET /groups.

Returns

200 with a Group object; an error answers in the Error envelope.

curl https://postacio.com/api/v1/groups/$GROUP_ID \
  -H "Authorization: Bearer $POSTACIO_API_KEY"
GET/groups/{groupId}/accounts

Connected accounts of a group

Any key

Path

  • groupIduuidrequired

    A social group id from GET /groups.

Returns

200 with these fields; an error answers in the Error envelope.

  • itemsarray of objects
    Show 7 fields
    • iduuid
    • platformstring
      xtelegraminstagramfacebooklinkedintiktokyoutube
    • namestring or null
    • handlestring or null
    • avatar_urlstring or null
    • statusstring
      activeexpiredrevokederror
    • enabled_by_defaultboolean
curl https://postacio.com/api/v1/groups/$GROUP_ID/accounts \
  -H "Authorization: Bearer $POSTACIO_API_KEY"

Ready to send your first draft?

Start your free trial, create a key in Settings, and call the API in a minute.