List a company's post groups
Lists one company’s post groups. Same filters, includes, sorting and paginate=false as GET /postGroups. A company you don’t belong to returns an empty list.
Roles: any member.
Authorizations
Path Parameters
Query Parameters
One value:
pending: every post is pending.publishing: at least one post is publishing.published: every post is published.error: at least one post failed, and the group isn't a draft.draft: a draft, or nopublish_at(queued groups match too).
Other or multiple values filter nothing.
pending, publishing, published, error, draft A queue ID: returns the groups waiting in it, the ones it takes next (see Create a queue). Groups it already gave a time aren't returned. Unknown ID: 404.
Comma-separated relations: user, user.image, user.image.thumbnail, company, company.image, company.image.thumbnail, ruleGroup (the queue that set its time), posts, posts.cover, posts.cover.thumbnail, posts.assets, posts.assets.image, posts.assets.image.thumbnail, posts.assets.video, posts.assets.video.thumbnail, tags, internalComments, internalComments.user, internalComments.user.image, internalComments.user.image.thumbnail (team notes), assistant (the AI assistant that created it). With paginate=false, company, internalComments and assistant are accepted but not returned.
Response
The company's post groups. Paginated, or a plain list with paginate=false.
