/groups/{groupId}/goalsThe group's posting goals and caps, and its goal pauses
A group goal (account_id: null) counts original posts and every account inherits it; an account's own goal of the same kind replaces it.
Path
groupIduuidrequiredA social group id from
GET /groups.
Returns
200 with these fields; an error answers in the Error envelope.
goalsarray of objectsShow 6 fields
account_iduuid or nullNull: the group's goal, which every account inherits.
kindstringWhat it counts. "original": posts, articles, quotes, polls and reels.
originalpostarticlereplyquotepollreelstoryrepostcommentdirectionstring"goal": at least target. "cap": at most target.
goalcaptargetinteger or nullPer period: 1-20 a day, 1-50 a week, 1-200 a month. Null: an account opts out of the group's goal.
-9007199254740991 to 9007199254740991
periodstringdayweekmonthweekdaysarray of integersThe days a daily goal counts, 0 = Monday.
pausesarray of objectsShow 4 fields
iduuidaccount_iduuid or nullNull: the whole group.
starts_onstringmatches ^\d{4}-\d{2}-\d{2}$
ends_onstringThe last paused day, inclusive.
matches ^\d{4}-\d{2}-\d{2}$
curl https://postacio.com/api/v1/groups/$GROUP_ID/goals \
-H "Authorization: Bearer $POSTACIO_API_KEY"