API Status Get API Key

Account

Queries 1

QUERY account : Account!

Retrieves the authenticated user's account information

Example Response

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "account": {
      "__typename": "Account",
      "id": "...",
      "email": "...",
      "backupEmail": "...",
      "avatar": "..."
    }
  }
}

Outputs 1

OUTPUT Account
Account is a representation of a Buffer user.
Fields 10
id : ID!
Unique identifier for the account
email : String!
Primary email address for the account
backupEmail : String
Backup email address for account recovery
avatar : String!
URL to the account's avatar image
createdAt : DateTime
Date the account was created in the Core DB. For older customers, it's possible a Publish account existed in the Publish DB for this customer before this date
organizations (filter: OrganizationFilterInput) : [Organization!]!
timezone : String
The account-level timezone - this is used as a default input for streaks, posting plans, and new channel channel connections.
name : String
The account name, different from the organization name
preferences : Preferences
The accounts preferences
connectedApps : [ConnectedApp!]
The connected apps for the account

Types 2

Connected App
Fields 8
The category of the connected app, when known.
clientId : ID!
The id of the connectedApp.
description : String!
A brief description of the connected app.
name : String!
The name of the connected app.
scopes : [String!]!
The access scopes granted to this connection for Buffer's public API resources. Empty when the connection holds none.
userId : ID!
The id of the user that has granted access to the app.
website : String!
The website URL of the connected app.
createdAt : DateTime!
The date and time when the connected app was created.
Account preferences
Fields 3
timeFormat : String
startOfWeek : String
defaultScheduleOption : ScheduleOption!

Enums 2

The category of a connected app.

Scalars 2

SCALAR AccountId
The `AccountId` scalar represents the ID of a Buffer Account
SCALAR DateTime
The `DateTime` scalar represents a date and time following the ISO 8601 standard.

Channels

Queries 2

QUERY channel (input: ChannelInput!) : Channel!

Fetches a single channel using the provided ID

Arguments
Name Type Description
input Required ChannelInput! Query's input.
Example Response

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "channel": {
      "__typename": "Channel",
      "id": "...",
      "allowedActions": [
        "approvePosts"
      ],
      "avatar": "...",
      "descriptor": "..."
    }
  }
}
QUERY channels (input: ChannelsInput!) : [Channel!]!

Fetch all channels for the organization taking into account the current's user permissions

Arguments
Name Type Description
input Required ChannelsInput! Query's input.
Example Response

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "channels": [
      {
        "__typename": "Channel",
        "id": "...",
        "allowedActions": [
          "approvePosts"
        ],
        "avatar": "...",
        "descriptor": "..."
      }
    ]
  }
}

Outputs 1

OUTPUT Channel
Channel entity
Fields 27
id : ChannelId!
The ID of the channel
allowedActions : [ChannelAction!]!
The allowed actions for the current user
avatar : String!
The avatar URL of the channel
descriptor : String!
Formatted name of the channel service and type: e.g. 'Twitter Profile' or 'Facebook Page'
displayName : String
The display name of the channel - nullable (reason?)
externalLink : String
The channel's URL on the social network (e.g. instagram.com/username or facebook.com/page) Returns null if the channel is not supported
hasActiveMemberDevice : Boolean!
Whether at least one member of the orginization who have access to this channel also has a user device registered for push notifications
isDisconnected : Boolean!
Indicates if the channel is properly connected to Buffer
isLocked : Boolean!
Indicates if the channel is locked - Locked channels can't be used for posting. A channel can be locked when the organization downgrades and reduces the channel quantity of their plan.
isNew : Boolean!
Indicates if the channel was recently created (in less than 10 seconds). This is used to determine the redirect modal after channel authorization
isQueuePaused : Boolean!
Indicates is the queue is paused for the channel. A paused queue means schedules posts won't be published.
linkShortening : ChannelLinkShortening!
Link Shortening settings for the channel
metadata : ChannelMetadata
Metadata or settings depending on the service type - such as the server URL for Mastodon or Location data for Facebook/GPB
name : String!
The name of the channel - the handle name, username, etc.
organizationId : OrganizationId!
The organization ID of the channel
postingGoal : PostingGoal
The posting goal for the channel
postingSchedule : [ScheduleV2!]!
Provides the posting slots for each day of the week
products : [Product!]
Products that support a given channel
scopes : [String]!
Scopes requested for a given channel - empty array if we don't have them tracked
service : Service!
Represents the social network
serviceId : String!
Represents the external ID of the channel on social network API
showTrendingTopicSuggestions : Boolean!
Indicates if trending topic suggestions should be shown in the composer. When false, users can still access trends via the trending icon button. Defaults to true for backward compatibility.
timezone : String!
The timezone of the channel - Default if not set is Europe/London
type : ChannelType!
The type of the channel - Page, Profile, Business, Group, Account, etc.
weeklyPostingLimit : WeeklyPostingLimit
Weekly posting limit for the channel
createdAt : DateTime!
The creation date of the channel
updatedAt : DateTime!
The last time the channel was updated

Types 38

Bluesky metadata
Fields 1
serverUrl : String!
The instance of bluesky of the channel
TYPE ChannelConfiguration ⚠️ Experimental
Everything for one connected channel: its engagement capabilities, its full `content` config, and per-feature authorization. Each channel carries its own complete config — there is no service-level default to merge against.
Fields 6
authorizationStatus : [FeatureAuthorizationStatus!]!
Authorization status per feature for this channel. A feature is a capability a channel can expose — e.g. posting, commenting, mentions, insights (see the `Feature` enum).
channelId : ChannelId!
The connected channel this config describes.
channelType : ChannelType!
The channel's type within the service (e.g. profile, page, business).
content : [ContentConfiguration!]!
Content config — one entry per content type, or a single entry grouping several types that share identical rules (post / story / reel / comment reply).
engagement : [EngagementTypeConfiguration!]!
Engagement capabilities — one entry per engagement type. Empty when engagement isn't supported on the channel.
service : Service!
The channel's social service (e.g. twitter, instagram).
Settings for link shortening
Fields 2
Configuration of link shortening integration. Null if disabled.
isEnabled : Boolean!
If link shortening is enabled for the channel
TYPE ChannelRefreshRequired ⚠️ Experimental
Error returned when the channel needs a refresh
Fields 2
channelIds : [ChannelId!]!
ChannelIds that need refreshing
message : String!
Error message
TYPE ContentConfiguration ⚠️ Experimental
Config for one or more content types that share the same properties and rules. Grouping several `configurationContentTypes` in one entry avoids duplicating an identical config (e.g. story + reel).
Fields 3
configurationContentTypes : [ConfigurationContentType!]!
The content type(s) this config applies to (grouped when rules are identical).
rules : [ValidationRule!]!
Validation rules that decide whether a draft is valid.
supportedProperties : [ContentProperty!]!
The properties these content types support; absence means unsupported.
TYPE EngagementSupportedReaction ⚠️ Experimental
A supported reaction. `reactionType` is the opaque identity echoed back on the react mutation; `visual` carries everything needed to render it.
Fields 2
reactionType : ReactionType!
The kind of reaction a user can apply (e.g. like, love, celebrate). This is the identifier the client sends back to the react mutation when the user picks this reaction; treat it as an opaque value rather than parsing it.
visual : ReactionVisual!
How to render this reaction (built-in icon or network image).
TYPE EngagementTypeConfiguration ⚠️ Experimental
Per-engagement-type configuration. One entry per kind; `engagementType` discriminates. Adding a kind is additive — a new `EngagementType` value, not a new type.
Fields 8
engagementType : EngagementType!
The kind of engagement this entry configures (comment / mention / directMessage).
Media configuration. Always present; `supportsMedia: false` = the platform doesn't deliver attached media to Buffer, so none can be shown.
metadata : EngagementMetadata
Optional network-specific engagement metadata (e.g. Google Business). null when none applies.
Whether the channel has been opted in to this engagement type. Only `directMessage` has an opt-in step today. `null` when the kind needs no opt-in, and on the service-level catalog, which has no channel to opt in.
reactions : ReactionsConfiguration!
Reactions. Always present; empty `supportedReactions` with `supportsAnyEmoji: false` = reacting via Buffer isn't supported.
replying : ReplyingConfiguration!
Reply configuration. Always present; `supportsReplying: false` = replying via Buffer not supported.
supportedAiFeatures : [AiFeature!]!
AI features supported for this engagement type. Empty when none.
syncData : SyncDataConfiguration!
Sync configuration — realTime/polling mechanism plus optional forced-sync detail.
Facebook metadata
Fields 1
locationData : LocationData
Metadata about the location of the business associated with the channel. Only available for Facebook and GPB
TYPE FeatureAuthorizationStatus ⚠️ Experimental
Pairs a feature with the channel's authorization status for it (token/scope level). One entry per authorization-gated feature the channel exposes.
Fields 3
feature : Feature!
The feature this status describes — a capability a channel can expose, e.g. posting, commenting, mentions, insights, reacting to engagements (see the `Feature` enum).
reason : String
Why the feature is in its current `status`, when a specific cause is known (e.g. the connected platform user lacks rights on the account that owns webhook subscriptions). Informative text for display/support — not a stable machine key, so clients must not parse or switch on it. Null when the status needs no explanation (`ok`) or no specific cause was identified.
Whether the channel is currently authorized to use `feature`: `ok` (usable), `needsRefresh` (token refresh required), `notEnoughData` (missing scopes / webhook metadata), `needsUpgrade` (client below the minimum version — applies only to the mobile apps), or `notEnoughRights` (the connected platform user's role is insufficient — reconnecting cannot fix it). See the `AuthorizationStatus` enum.
TYPE ForcedSyncConfiguration ⚠️ Experimental
Forced-sync detail. Present only when the kind's sync mechanism supports a forced (manual) sync.
Fields 2
forcedSyncRateLimit : ForcedSyncRateLimit
Rate limit for forced syncs. `null` when forced sync is unthrottled. Reuses the `ForcedSyncRateLimit` type defined by the comment schema.
pollInterval : Int!
How often, in seconds, the channel is automatically polled for new items.
TYPE ForcedSyncRateLimit ⚠️ Experimental
Rate limit configuration for forced sync operations.
Fields 2
allowedAttempts : Int!
Number of allowed forced backfill attempts within the period.
period : Int!
Rate limit period in seconds for forced backfill operations.
TYPE GoogleBusinessEngagementMetadata ⚠️ Experimental
Google Business-specific engagement metadata. Distinct from the channel-level `GoogleBusinessMetadata` (which carries location data) — this is the engagement surface's rating/note metadata.
Fields 2
hasUserRating : Boolean!
Whether engagements on this channel carry a user star rating.
permanentNote : String!
A permanent note surfaced to the user about this channel's engagements. Empty when there is nothing to tell the user.
Google Business metadata
Fields 1
locationData : LocationData
Metadata about the location of the business associated with the channel. Only available for Facebook and GPB
TYPE IconVisual ⚠️ Experimental
Render from the built-in client icon set.
Fields 1
icon : ReactionIcon!
The built-in icon to render.
TYPE IdeaMedia
Media attached to an idea
Fields 7
id : ID!
Unique identifier for the media in Buffer's upload system
alt : String
Alternative text description for accessibility
size : Int
File size in bytes
source : IdeaMediaSource
Source platform information for the media
thumbnailUrl : String
URL to a smaller version of the media for preview purposes
type : MediaType!
Type of media (e.g., image, video, gif)
url : String!
Direct URL to access the media file
Media source for the idea, e.g. Unsplash, Gifphy, etc.
Fields 4
id : String
Unique identifier from the source platform
author : String
Name of the content creator/author
authorUrl : String
URL to the author's profile on the source platform
name : String!
Name of the media source platform (e.g., 'Unsplash', 'Giphy')
TYPE ImageVisual ⚠️ Experimental
Render a network-supplied image (e.g. LinkedIn-branded reactions).
Fields 1
url : String!
URL of the network-supplied reaction image.
LinkedIn metadata
Fields 1
shouldShowLinkedinAnalyticsRefreshBanner : Boolean!
Property parsed from scopes indicating whether the client should show the LinkedIn analytics refresh banner
Link Shortening Configuration
Fields 2
domain : String!
Domain of the link shortener - eg buff.ly, dub.co, or the user's custom domain.
name : String!
Human readable string to describe the link shortening service.
Location data about the channel
Fields 3
googleAccountId : String
Google Account Id of the business
location : String
Location of the business associated with the channel
mapsLink : String
Link to the map
Mastodon metadata
Fields 2
maxCharacters : Int!
Maximum character limit allowed for this channel's server instance
serverUrl : String!
The instance of mastodon of the channel
TYPE MediaConfiguration ⚠️ Experimental
Media configuration for an engagement type — whether media attached to an engagement reaches Buffer and can therefore be shown to the user.
Fields 3
additionalInformation : String
User-facing explanation of what the client can do about the missing media, worded for the platform (e.g. "Instagram doesn't send media with mentions to Buffer. Open the mention natively to see the full content."). Display text only — not a stable machine key, so clients must not parse or switch on it. Null when `supportsMedia` is true.
disclaimer : String
User-facing explanation of why media isn't shown. Display text only — not a stable machine key, so clients must not parse or switch on it. Null when `supportsMedia` is true.
supportsMedia : Boolean!
Whether media attached to this engagement type is delivered by the platform and can be shown.
TYPE OptInConfiguration ⚠️ Experimental
Opt-in state of one engagement type on one channel. Present only when the kind has an opt-in step.
Fields 1
isEnabled : Boolean!
Whether this engagement type has been turned on for the channel. `false` until someone opts the channel in.
A Pinterest board
Fields 7
id : String!
The ID of the board
avatar : String
The board avatar
description : String
The board description
isShared : Boolean!
Whether the board has collaborators on Pinterest
name : String!
The board name
serviceId : String!
The ID of the service
url : String!
The board URL
Pinterest metadata
Fields 1
boards : [PinterestBoard!]!
The list of boards the user has on Pinterest
TYPE PostChannelNotFoundError ⚠️ Experimental
The channel targeted by a single post in the promoteContentItemDraftToPosts input list was not found or is not accessible.
Fields 2
channelId : ChannelId!
Channel targeted by the failing post.
message : String!
Error message.
TYPE ReactionsConfiguration ⚠️ Experimental
Reactions configuration. `restingIcon` is always populated; `supportedReactions` empty = reacting via Buffer isn't supported (unless `supportsAnyEmoji`), one = single-button liking, multiple = a reaction set.
Fields 4
requiresAuthorization : Boolean!
Whether reacting needs an OAuth scope beyond the ones a base connection grants. When true, check the channel's `engagementReaction` entry in `authorizationStatus` before offering the reaction — the channel may need a reconnect to grant it. On the service-level catalog this is channel-agnostic and may overstate the requirement, since it can vary with a channel's login flow; the per-channel configuration resolves it exactly.
restingIcon : ReactionIcon!
The resting-state icon — the pre-reaction icon.
supportedReactions : [EngagementSupportedReaction!]!
The reactions the user can apply. Empty when reacting via Buffer isn't supported, or when `supportsAnyEmoji` is true.
supportsAnyEmoji : Boolean!
Whether the user can react with any single emoji (e.g. direct messages). When true, offer an emoji picker and send the chosen emoji to the network's emoji reaction mutation; `supportedReactions` is empty.
TYPE ReplyingConfiguration ⚠️ Experimental
Reply configuration for an engagement type. A rich object (not a bare boolean) so reply metadata can be added later.
Fields 4
prefixReplyWithMention : Boolean!
Whether replies should be prefixed with the author's @mention.
replyWindowHours : Int
Reply window in hours from the last inbound message. Set only for direct messages: 168 (7 days) on Instagram Login channels, 24 on Facebook pages and on Instagram channels connected through Facebook Login. Null means this configuration does not specify a window.
supportsReplying : Boolean!
Whether replying to this engagement type via Buffer is supported.
supportsReplyTo : Boolean!
Whether a reply can quote a specific message.
TYPE ScheduleV2
Posting schedule for a specific day of the week
Fields 3
day : DayOfWeek!
The day of the week: mon, tue, wed, thu, fri, sat, sun
paused : Boolean!
Indicates if this day is paused in the posting schedule.
times : [String!]!
The times the channel is scheduled to post on the day: HH:MM
TYPE SyncDataConfiguration ⚠️ Experimental
Sync configuration for an engagement type — the realTime/polling `syncDataMechanism` plus optional forced-sync detail.
Fields 2
forcedSyncConfiguration : ForcedSyncConfiguration
Forced-sync detail. A forced sync is a user-triggered (manual) refresh that fetches new items on demand instead of waiting for the next scheduled poll or push. `null` when this kind's sync mechanism has no forced-sync support.
syncDataMechanism : SyncDataMechanism!
How this engagement type syncs on this channel: `realTime` (push) or `polling` (pull).
Tiktok metadata
Fields 1
defaultToReminders : Boolean!
Indicates if we should default to reminder for Tiktok
Twitter metadata
Fields 1
subscriptionType : String
Indicates the type of subscription the user has on Twitter
The WhatsApp phone's connection details, without credentials or synchronization request IDs.
Fields 4
businessPortfolioId : String!
The Meta business portfolio that owns the WhatsApp Business Account.
lastSubscribedAt : DateTime
When Buffer last confirmed the WABA subscription. Null before confirmation.
phoneNumberId : String!
Meta's ID for the business phone.
wabaId : String!
The WhatsApp Business Account that owns the phone.
Youtube metadata
Fields 1
defaultToReminders : Boolean!
Indicates if we should default to reminder for Youtube
TYPE ValidationRule ⚠️ Experimental
A validation rule constraining how a content property may be used. Each concrete rule carries only the fields it needs; new constraint kinds are additive (a new type implementing this interface). Clients switch on `__typename`.
Fields 1
property : ContentProperty!
The content property this rule constrains.
Metadata or settings about the channel depending on the service type
TYPE EngagementMetadata ⚠️ Experimental
Network-specific engagement metadata. Single-member union for now; grows additively as more networks contribute their own shape.
TYPE ReactionVisual ⚠️ Experimental
How to render a reaction. The client switches on `__typename` purely as a render strategy (built-in icon vs network image) — never on the network or the reaction identity.

Inputs 5

INPUT ChannelInput
Input for the channel query
Fields 1
id : ChannelId!
The ID of the channel to be retrieved
Filter to pass when fetching channels.
Fields 2
isLocked : Boolean
If not defined, it returns all channels Else, if true, it only returns locked channels if false, it only returns not locked channels
product : Product
If not passed, it return all channels Else, it filters the channels based on what the product supports.
Input to pass when fetching channels.
Fields 2
A list of option filters - passing null means we don't want to filter
organizationId : OrganizationId!
The Organization id to fetch channels for
Fields 6
url : String!
The URL of the media
alt : String
Alternative text for the media
thumbnailUrl : String
Thumbnail URL for the media
type : MediaType!
The type of media (image, gif, video, link, document, unsupported). Note: 'video' is not supported via public API
size : Int
The size of the media in bytes
Source information for the media
Input type for the source information of media attached to an idea
Fields 5
name : String!
id : String
trigger : String
author : String
for unsplash only
authorUrl : String

Enums 16

ENUM AiFeature ⚠️ Experimental
AI features supported for an engagement type. Grows additively.
ENUM AuthorizationStatus ⚠️ Experimental
Represents the authorization evaluation result for a feature.
List of possible actions that can be performed on a Channel
Channel is a representation of a social media account or page that can be connected to Buffer.
ENUM ConfigurationContentType ⚠️ Experimental
The kinds of content a channel can compose. Grows additively.
ENUM ContentProperty ⚠️ Experimental
A property a content type can carry. Support is expressed by inclusion in `supportedProperties` — there are no exclusion lists. Grows additively.
ENUM DayOfWeek
Day of the week.
ENUM EngagementType ⚠️ Experimental
Discriminator used in inputs/filters to scope a query to specific types.
ENUM Feature ⚠️ Experimental
A capability a channel can expose, spanning every domain. The shared key for per-channel `authorizationStatus`. Grows additively.
ENUM MediaFormat ⚠️ Experimental
Media formats a `FormatRule` can allow-list. Grows additively.
ENUM MediaType
The type of media attached to a post
ENUM Product
Buffer products, buffer is used as all products
ENUM ReactionIcon ⚠️ Experimental
Standard reaction icon set used by `IconVisual`. Grows additively.
ENUM ReactionType ⚠️ Experimental
Types of reactions that can be applied to a comment.
ENUM Service
The list of services that can be authorized.
ENUM SyncDataMechanism ⚠️ Experimental
How items of an engagement type are pulled / pushed. `realTime` covers push (webhook / firehose); `polling` is pull.

Scalars 1

SCALAR ChannelId
The `ChannelId` scalar represents the ID of a Buffer Channel

Tags

Queries 2

QUERY tag (input: TagByIdInput!) : Tag ⚠️ Experimental

Fetch a single tag by id.

Resolves to null with a NOT_FOUND error when no tag has that id, and with an UNAUTHORIZED error when the tag belongs to an organization the caller cannot read. Both are reported in the errors array.

This API is an early preview and can change without a deprecation period.

Arguments
Name Type Description
input Required TagByIdInput! Identifies the tag to fetch.
Example Response

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "tag": {
      "__typename": "Tag",
      "id": "...",
      "color": "...",
      "colorName": "blue",
      "isLocked": true
    }
  }
}
QUERY tagsV2 (after: String, first: Int, input: TagsInput!) : TagsConnection! ⚠️ Experimental

Fetch a page of the organization's tags, sorted by name in ascending order. Uses standard cursor pagination: pass the previous page's pageInfo.endCursor as after to fetch the next page. Requesting more than 100 tags in a single page is rejected.

This API is an early preview and can change without a deprecation period.

Arguments
Name Type Description
after Optional String The cursor after which to return results. Cursors are opaque: treat them as a black box and reset to null when the input changes, since a cursor from a different result set produces undefined behavior.
first Optional Int The number of tags to return, up to 100.
input Required TagsInput! Identifies the organization whose tags to list, and how to filter them.
Example Response

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "tagsV2": {
      "__typename": "TagsConnection",
      "edges": [
        {
          "__typename": "TagEdge",
          "cursor": "...",
          "node": {
            "__typename": "Tag"
          }
        }
      ],
      "pageInfo": {
        "__typename": "PaginationPageInfo",
        "endCursor": "...",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "..."
      },
      "totalCount": 0
    }
  }
}

Mutations 3

MUTATION createTag (input: CreateTagInput!) : CreateTagPayload! ⚠️ Experimental

Create a tag for an organization.

The name must be unique within the organization; a duplicate is refused with DuplicateError. Creation is refused with LimitReachedError once the organization already holds as many tags as its plan allows.

This API is an early preview and can change without a deprecation period.

Arguments
Name Type Description
input Required CreateTagInput! Identifies the organization to create the tag in, and the name and color to give the tag.
Example Response: TagActionSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "createTag": {
      "__typename": "TagActionSuccess",
      "tag": {
        "__typename": "Tag",
        "id": "...",
        "color": "...",
        "colorName": "blue",
        "isLocked": true
      }
    }
  }
}
Example Response: error

Returned as one of: InvalidInputError, DuplicateError, LimitReachedError, NotFoundError, UnauthorizedError, UnexpectedError.

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "createTag": {
      "__typename": "InvalidInputError",
      "message": "..."
    }
  }
}
MUTATION deleteTag (input: DeleteTagInput!) : DeleteTagPayload! ⚠️ Experimental

Delete a tag.

The tag is removed from every post, idea and content item carrying it; those items are otherwise untouched. A locked tag can be deleted, and deleting an unlocked tag frees a slot for the oldest locked one. See Tag.isLocked.

This API is an early preview and can change without a deprecation period.

Arguments
Name Type Description
input Required DeleteTagInput! Identifies the tag to delete.
Example Response: DeleteTagActionSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "deleteTag": {
      "__typename": "DeleteTagActionSuccess",
      "id": "..."
    }
  }
}
Example Response: error

Returned as one of: InvalidInputError, NotFoundError, UnauthorizedError, UnexpectedError.

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "deleteTag": {
      "__typename": "InvalidInputError",
      "message": "..."
    }
  }
}
MUTATION updateTag (input: UpdateTagInput!) : UpdateTagPayload! ⚠️ Experimental

Update a tag's name and color.

Both values are replaced, so send the current value for the one you are not changing. The new name must still be unique within the organization; a duplicate is refused with DuplicateError.

A locked tag cannot be edited and the update is refused. See Tag.isLocked.

This API is an early preview and can change without a deprecation period.

Arguments
Name Type Description
input Required UpdateTagInput! Identifies the tag to update, and the name and color to set on it.
Example Response: TagActionSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "updateTag": {
      "__typename": "TagActionSuccess",
      "tag": {
        "__typename": "Tag",
        "id": "...",
        "color": "...",
        "colorName": "blue",
        "isLocked": true
      }
    }
  }
}
Example Response: error

Returned as one of: InvalidInputError, DuplicateError, NotFoundError, UnauthorizedError, UnexpectedError.

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "updateTag": {
      "__typename": "InvalidInputError",
      "message": "..."
    }
  }
}

Outputs 2

OUTPUT Tag
A label an organization applies to posts and ideas so they can be grouped and filtered together. Tags belong to the organization and are shared by everyone in it, rather than being per channel or per person.
Fields 5
id : TagId!
The tag's unique identifier.
color : String!
The tag's color as a hex triplet, for example `#F523F1`. Use `colorName` where you need a stable identifier rather than a literal color.
colorName : TagColorName
Stable Buffer palette identifier derived from `color`. Clients should map this value to platform- and theme-specific presentation, falling back to `color` when this field is null or unsupported. Returns null for custom or unrecognized colors.
isLocked : Boolean!
Whether the tag is locked. A tag locks when the organization holds more tags than its plan allows, typically after a downgrade. Buffer locks the excess rather than deleting it, so nothing is lost if the organization upgrades again. A locked tag **cannot be edited** — `updateTag` rejects it. It can still be read, deleted, and applied to posts through the API. Buffer's own apps also hide locked tags when picking a tag for a post; that is a client convention, not something the API enforces. Locking is recalculated when the organization's plan changes, and deleting an unlocked tag frees a slot for the oldest locked one.
name : String!
The tag's display name, for example `Summer sales`.
OUTPUT TagsConnection ⚠️ Experimental
A page of an organization's tags.
Fields 3
edges : [TagEdge!]!
The list of tag edges.
pageInfo : PaginationPageInfo!
Pagination information for the connection.
totalCount : Int!
The total number of tags matching the request, across every page.

Types 2

TYPE TagActionSuccess ⚠️ Experimental
Returned when a tag was created or updated successfully.
Fields 1
tag : Tag!
The tag as persisted, read back after the write.
TYPE TagEdge ⚠️ Experimental
An edge in a tag connection.
Fields 2
cursor : String!
A cursor for pagination.
node : Tag!
The tag at the end of the edge.

Inputs 7

INPUT TagByIdInput ⚠️ Experimental
Input for fetching a single tag by id.
Fields 1
id : TagId!
The unique identifier of the tag to fetch.
Comparator for filtering by tags
Fields 2
in : [TagId!]!
Include results that have any of the specified tags (union/OR).
isEmpty : Boolean!
When true, include results that have no tags assigned. Can be combined with 'in' for union filtering. Defaults to false if not specified.
INPUT TagInput
Input type for tag information used in idea creation
Fields 3
id : ID!
name : String!
color : String!
INPUT TagsFiltersInput ⚠️ Experimental
Filters for listing an organization's tags. Omitted fields do not filter.
Fields 1
isLocked : Boolean
Return only locked tags when true, only unlocked tags when false. Omit to return both. See `Tag.isLocked` for what locking means.
INPUT TagsInput ⚠️ Experimental
Input for listing an organization's tags.
Fields 2
filter : TagsFiltersInput
Filters to apply. When omitted, all of the organization's tags are returned.
organizationId : OrganizationId!
Organization to list tags for. The caller must be a member of this organization.
INPUT TagToCreateInput ⚠️ Experimental
The name and color to give a new tag.
Fields 2
color : String!
The tag's color as a hex triplet: `#` followed by exactly six hex digits, for example `#F523F1`. Shorthand such as `#F51` is rejected. Buffer maps recognized palette colors onto `Tag.colorName`.
name : String!
The tag's display name, for example `Summer sales`. Between 1 and 100 characters, and unique within the organization. Names are compared exactly, so `Summer sales` and `summer sales` can coexist.
INPUT TagToUpdateInput ⚠️ Experimental
The name and color to set on an existing tag. Both are replaced, so send the current value for the one you are not changing.
Fields 2
color : String!
The tag's color as a hex triplet: `#` followed by exactly six hex digits, for example `#F523F1`. Shorthand such as `#F51` is rejected. Buffer maps recognized palette colors onto `Tag.colorName`.
name : String!
The tag's display name, for example `Summer sales`. Between 1 and 100 characters, and unique within the organization. Names are compared exactly, so `Summer sales` and `summer sales` can coexist.

Enums 1

Stable Buffer identifiers for the supported tag color palette. Clients map these values to platform- and theme-specific presentation. Values ending in `Light` are lighter palette variants, not UI theme modes.

Scalars 1

SCALAR TagId
The `TagId` scalar represents the ID of a Buffer Tag

Posts

Queries 12

QUERY aggregatedPostMetrics (input: AggregatedPostMetricsInput!) : AggregatedPostMetrics!

Aggregate normalized post metrics across a filtered post set. Useful for yearly summaries, channel-level rollups, and BI exports without paginating through thousands of posts.

For per-post metrics, use posts(input) or post(input) with a metrics { … } selection — this query is purely for aggregation.

The result always contains a baseline trio of entries: postCount (number of matched posts in the window), reactions, and comments. Posts on networks that don't track reactions or comments contribute 0 to those totals.

Beyond the baseline, additional metric types are returned only when every channel in the filter set supports them. A single-network filter surfaces that network's richer metrics (e.g. impressions, reach, engagementRate on LinkedIn); a mixed-network filter trims the extras to those common to every network in the set.

Arguments
Name Type Description
input Required AggregatedPostMetricsInput! Query's input: organization, date range, optional channel and tag filters. Date range is capped to 365 days.
Example Response

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "aggregatedPostMetrics": {
      "__typename": "AggregatedPostMetrics",
      "metrics": [
        {
          "__typename": "PostMetric",
          "description": "...",
          "name": "...",
          "type": "averageTimeWatched",
          "unit": "count"
        }
      ],
      "metricsUpdatedAt": "..."
    }
  }
}
QUERY collaborationNotes (after: String, first: Int, input: CollaborationNotesInput!) : CollaborationNotesConnection! ⚠️ Experimental

The authorized Notes in a thread, in descending creation order.

Arguments
Name Type Description
after Optional String The opaque cursor after which to read Notes.
first Optional Int The number of Notes to read, from 1 through 100. The default is 10.
input Required CollaborationNotesInput! The thread whose Notes to read.
Example Response

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "collaborationNotes": {
      "__typename": "CollaborationNotesConnection",
      "edges": [
        {
          "__typename": "CollaborationNoteEdge",
          "cursor": "...",
          "node": {
            "__typename": "CollaborationNote"
          }
        }
      ],
      "pageInfo": {
        "__typename": "PaginationPageInfo",
        "endCursor": "...",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "..."
      }
    }
  }
}
QUERY dailyPostingLimits (input: DailyPostingLimitsInput!) : [DailyPostingLimitStatus!]!

Returns posting limit status for the given channels at the intended posting time.

Arguments
Name Type Description
input Required DailyPostingLimitsInput! Query's input.
Example Response

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "dailyPostingLimits": [
      {
        "__typename": "DailyPostingLimitStatus",
        "channelId": "...",
        "isAtLimit": true,
        "limit": 0,
        "scheduled": 0
      }
    ]
  }
}
QUERY instagramAudio (input: InstagramAudioInput!) : InstagramAudioPayload! ⚠️ Experimental

Refresh metadata and preview availability for one Instagram audio asset. Requires Facebook Login. Instagram Login channels return ChannelRefreshRequired.

Arguments
Name Type Description
input Required InstagramAudioInput! Channel and audio asset used to refresh metadata.
Example Response: InstagramAudioSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "instagramAudio": {
      "__typename": "InstagramAudioSuccess",
      "audio": {
        "__typename": "InstagramAudio",
        "id": "...",
        "coverArtworkUrl": "...",
        "creatorUsername": "...",
        "displayArtist": "..."
      }
    }
  }
}
Example Response: ChannelRefreshRequired

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "instagramAudio": {
      "__typename": "ChannelRefreshRequired",
      "channelIds": [
        "..."
      ],
      "message": "..."
    }
  }
}
QUERY instagramAudioCatalog (input: InstagramAudioCatalogInput!) : InstagramAudioCatalogPayload! ⚠️ Experimental

Return trending music and original sounds in a single request. Requires Facebook Login. Instagram Login channels return ChannelRefreshRequired.

Arguments
Name Type Description
input Required InstagramAudioCatalogInput! Channel to load trending audio for. No catalog selection is needed.
Example Response: InstagramAudioCatalogSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "instagramAudioCatalog": {
      "__typename": "InstagramAudioCatalogSuccess",
      "audio": [
        {
          "__typename": "InstagramAudio",
          "id": "...",
          "coverArtworkUrl": "...",
          "creatorUsername": "...",
          "displayArtist": "..."
        }
      ],
      "failedAudioTypes": [
        "music"
      ]
    }
  }
}
Example Response: ChannelRefreshRequired

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "instagramAudioCatalog": {
      "__typename": "ChannelRefreshRequired",
      "channelIds": [
        "..."
      ],
      "message": "..."
    }
  }
}
QUERY post (input: PostInput!) : Post!

Fetches a post by PostID for the given organization: first and last can be set for forward pagination using Relay convention

Arguments
Name Type Description
input Required PostInput! Query's input.
Example Response

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "post": {
      "__typename": "Post",
      "id": "...",
      "allowedActions": [
        "addPostNote"
      ],
      "assets": [
        {
          "__typename": "DocumentAsset",
          "id": "...",
          "document": {
            "__typename": "DocumentMetadata"
          },
          "mimeType": "...",
          "source": "..."
        }
      ],
      "author": {
        "__typename": "Author",
        "id": "...",
        "avatar": "...",
        "email": "...",
        "isDeleted": true
      }
    }
  }
}
QUERY posts (after: String, first: Int, input: PostsInput!) : PostsResults!

Fetches posts for the given organization: first and last can be set for forward pagination using Relay convention

Arguments
Name Type Description
after Optional String The cursor of the post to start fetching from
first Optional Int The number of posts to return
input Required PostsInput! Query's input.
Example Response

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "posts": {
      "__typename": "PostsResults",
      "edges": [
        {
          "__typename": "PostsEdge",
          "cursor": "...",
          "node": {
            "__typename": "Post"
          }
        }
      ],
      "pageInfo": {
        "__typename": "PaginationPageInfo",
        "endCursor": "...",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "..."
      }
    }
  }
}
QUERY postTemplate (input: PostTemplateInput!) : PostTemplate 🧪 Preview

Fetch a single post template by ID. Returns null if not found.

Arguments
Name Type Description
input Required PostTemplateInput! Input for fetching a single post template.
Example Response

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "postTemplate": {
      "__typename": "PostTemplate",
      "id": "...",
      "body": "...",
      "description": "...",
      "emoji": "..."
    }
  }
}
QUERY postTemplates (after: String, first: Int, input: PostTemplatesInput!) : PostTemplatesConnection! 🧪 Preview

Fetch the templates visible to the current actor for the template library: public templates, plus internal templates from the supplied organizationId, plus private templates owned by the actor's account. The visibility scope is always pinned to the actor and the supplied organization — the input filter can only narrow within that scope, never widen it.

Arguments
Name Type Description
after Optional String The cursor after which to return results.
first Optional Int The number of templates to return.
input Required PostTemplatesInput! Input containing the organization scope and optional filters.
Example Response

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "postTemplates": {
      "__typename": "PostTemplatesConnection",
      "edges": [
        {
          "__typename": "PostTemplateEdge",
          "cursor": "...",
          "node": {
            "__typename": "PostTemplate"
          }
        }
      ],
      "pageInfo": {
        "__typename": "PaginationPageInfo",
        "endCursor": "...",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "..."
      },
      "totalCount": 0
    }
  }
}
QUERY searchInstagramAudio (input: SearchInstagramAudioInput!) : SearchInstagramAudioPayload! ⚠️ Experimental

Search Instagram audio for one channel. Requires Facebook Login. Instagram Login channels return ChannelRefreshRequired.

Arguments
Name Type Description
input Required SearchInstagramAudioInput! Channel, catalog type, and search text.
Example Response: SearchInstagramAudioSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "searchInstagramAudio": {
      "__typename": "SearchInstagramAudioSuccess",
      "audio": [
        {
          "__typename": "InstagramAudio",
          "id": "...",
          "coverArtworkUrl": "...",
          "creatorUsername": "...",
          "displayArtist": "..."
        }
      ]
    }
  }
}
Example Response: ChannelRefreshRequired

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "searchInstagramAudio": {
      "__typename": "ChannelRefreshRequired",
      "channelIds": [
        "..."
      ],
      "message": "..."
    }
  }
}
QUERY searchInstagramAudioCatalog (input: SearchInstagramAudioCatalogInput!) : InstagramAudioCatalogPayload! ⚠️ Experimental

Search music and original sounds in a single request. Requires Facebook Login. Instagram Login channels return ChannelRefreshRequired.

Arguments
Name Type Description
input Required SearchInstagramAudioCatalogInput! Channel and nonblank search text. No catalog selection is needed.
Example Response: InstagramAudioCatalogSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "searchInstagramAudioCatalog": {
      "__typename": "InstagramAudioCatalogSuccess",
      "audio": [
        {
          "__typename": "InstagramAudio",
          "id": "...",
          "coverArtworkUrl": "...",
          "creatorUsername": "...",
          "displayArtist": "..."
        }
      ],
      "failedAudioTypes": [
        "music"
      ]
    }
  }
}
Example Response: ChannelRefreshRequired

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "searchInstagramAudioCatalog": {
      "__typename": "ChannelRefreshRequired",
      "channelIds": [
        "..."
      ],
      "message": "..."
    }
  }
}
QUERY trendingInstagramAudio (input: TrendingInstagramAudioInput!) : SearchInstagramAudioPayload! ⚠️ Experimental

Return Meta trending Instagram audio for one channel. Requires Facebook Login. Instagram Login channels return ChannelRefreshRequired.

Arguments
Name Type Description
input Required TrendingInstagramAudioInput! Channel and catalog type for Meta trending audio.
Example Response: SearchInstagramAudioSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "trendingInstagramAudio": {
      "__typename": "SearchInstagramAudioSuccess",
      "audio": [
        {
          "__typename": "InstagramAudio",
          "id": "...",
          "coverArtworkUrl": "...",
          "creatorUsername": "...",
          "displayArtist": "..."
        }
      ]
    }
  }
}
Example Response: ChannelRefreshRequired

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "trendingInstagramAudio": {
      "__typename": "ChannelRefreshRequired",
      "channelIds": [
        "..."
      ],
      "message": "..."
    }
  }
}

Mutations 17

MUTATION addPostToContentItem (input: AddPostToContentItemInput!) : AddPostToContentItemPayload! ⚠️ Experimental

Add a post that already exists to a content item. The mutation creates no post. To add a new post, call createPost first.

Arguments
Name Type Description
input Required AddPostToContentItemInput! Input for addPostToContentItem.
Example Response: AddPostToContentItemSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "addPostToContentItem": {
      "__typename": "AddPostToContentItemSuccess",
      "contentItem": {
        "__typename": "ContentItem",
        "id": "...",
        "accountId": "...",
        "allowedActions": [
          "deleteContentItem"
        ],
        "author": {
          "__typename": "Author"
        }
      },
      "post": {
        "__typename": "Post",
        "id": "...",
        "allowedActions": [
          "addPostNote"
        ],
        "assets": [
          {
            "__typename": "DocumentAsset"
          }
        ],
        "author": {
          "__typename": "Author"
        }
      }
    }
  }
}
MUTATION createCollaborationNote (input: CreateCollaborationNoteInput!) : CreateCollaborationNotePayload! ⚠️ Experimental

Creates a collaboration Note in a thread.

Arguments
Name Type Description
input Required CreateCollaborationNoteInput! The new Note content.
Example Response: CreateCollaborationNoteSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "createCollaborationNote": {
      "__typename": "CreateCollaborationNoteSuccess",
      "edge": {
        "__typename": "CollaborationNoteEdge",
        "cursor": "...",
        "node": {
          "__typename": "CollaborationNote"
        }
      }
    }
  }
}
Example Response: error

Returned as one of: InvalidInputError, LimitReachedError, CollaborationNoteThreadClosedError.

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "createCollaborationNote": {
      "__typename": "InvalidInputError",
      "message": "..."
    }
  }
}
MUTATION createPost (input: CreatePostInput!) : PostActionPayload!

Create post for channel

Arguments
Name Type Description
input Required CreatePostInput! The mutation's input
Example Response: PostActionSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "createPost": {
      "__typename": "PostActionSuccess",
      "post": {
        "__typename": "Post",
        "id": "...",
        "allowedActions": [
          "addPostNote"
        ],
        "assets": [
          {
            "__typename": "DocumentAsset"
          }
        ],
        "author": {
          "__typename": "Author"
        }
      }
    }
  }
}
Example Response: error

Returned as one of: NotFoundError, UnauthorizedError, UnexpectedError, LimitReachedError, InvalidInputError.

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "createPost": {
      "__typename": "NotFoundError",
      "message": "..."
    }
  }
}
Example Response: RestProxyError

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "createPost": {
      "__typename": "RestProxyError",
      "code": 0,
      "link": "...",
      "message": "..."
    }
  }
}
MUTATION createPostTemplate (input: CreatePostTemplateInput!) : CreatePostTemplatePayload! 🧪 Preview

Create a post template visible only to the caller (private) or to the caller's organization (internal).

Arguments
Name Type Description
input Required CreatePostTemplateInput! Input for creating a post template.
Example Response: CreatePostTemplateSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "createPostTemplate": {
      "__typename": "CreatePostTemplateSuccess",
      "postTemplate": {
        "__typename": "PostTemplate",
        "id": "...",
        "body": "...",
        "description": "...",
        "emoji": "..."
      }
    }
  }
}
MUTATION deleteCollaborationNote (input: DeleteCollaborationNoteInput!) : DeleteCollaborationNotePayload! ⚠️ Experimental

Deletes a collaboration Note.

Arguments
Name Type Description
input Required DeleteCollaborationNoteInput! The Note to delete.
Example Response: DeleteCollaborationNoteSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "deleteCollaborationNote": {
      "__typename": "DeleteCollaborationNoteSuccess",
      "noteId": "..."
    }
  }
}
MUTATION deletePost (input: DeletePostInput!) : DeletePostPayload!

Delete a post by id.

Arguments
Name Type Description
input Required DeletePostInput! Input for the deletePost mutation.
Example Response: DeletePostSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "deletePost": {
      "__typename": "DeletePostSuccess",
      "id": "..."
    }
  }
}
MUTATION deletePostTemplate (input: DeletePostTemplateInput!) : DeletePostTemplatePayload! 🧪 Preview

Delete a post template owned by the caller (or an internal template in the caller's organization, if the caller is an org admin/owner).

Arguments
Name Type Description
input Required DeletePostTemplateInput! Input for deleting a post template.
Example Response: EmptySuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "deletePostTemplate": {
      "__typename": "EmptySuccess",
      "_empty": "..."
    }
  }
}
MUTATION editPost (input: EditPostInput!) : PostActionPayload!

Edit post for channel

Arguments
Name Type Description
input Required EditPostInput! The mutation's input
Example Response: PostActionSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "editPost": {
      "__typename": "PostActionSuccess",
      "post": {
        "__typename": "Post",
        "id": "...",
        "allowedActions": [
          "addPostNote"
        ],
        "assets": [
          {
            "__typename": "DocumentAsset"
          }
        ],
        "author": {
          "__typename": "Author"
        }
      }
    }
  }
}
Example Response: error

Returned as one of: NotFoundError, UnauthorizedError, UnexpectedError, LimitReachedError, InvalidInputError.

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "editPost": {
      "__typename": "NotFoundError",
      "message": "..."
    }
  }
}
Example Response: RestProxyError

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "editPost": {
      "__typename": "RestProxyError",
      "code": 0,
      "link": "...",
      "message": "..."
    }
  }
}
MUTATION movePostInQueue (input: MovePostInQueueInput!) : MovePostInQueuePayload! ⚠️ Experimental

Move a queued post to the top or bottom of its channel's queue. Unlike editPost, this is a scheduling-only operation that never re-validates the post's content.

Arguments
Name Type Description
input Required MovePostInQueueInput! The mutation's input
Example Response: PostActionSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "movePostInQueue": {
      "__typename": "PostActionSuccess",
      "post": {
        "__typename": "Post",
        "id": "...",
        "allowedActions": [
          "addPostNote"
        ],
        "assets": [
          {
            "__typename": "DocumentAsset"
          }
        ],
        "author": {
          "__typename": "Author"
        }
      }
    }
  }
}
MUTATION promoteContentItemDraftToPosts (input: PromoteContentItemDraftToPostsInput!) : PromoteContentItemDraftToPostsPayload! ⚠️ Experimental

Promote a channel-less draft into channel-specific posts. One-way: once promoted, the content item can no longer be edited as a draft. If any post fails validation, none are created. A failure can also be reported when a post could not be fully processed after the promotion already took effect; re-fetch the content item to check its state before retrying.

This API is an early preview and can change without a deprecation period.

Arguments
Name Type Description
input Required PromoteContentItemDraftToPostsInput! Input for promoteContentItemDraftToPosts.
Example Response: PromoteContentItemDraftToPostsSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "promoteContentItemDraftToPosts": {
      "__typename": "PromoteContentItemDraftToPostsSuccess",
      "contentItem": {
        "__typename": "ContentItem",
        "id": "...",
        "accountId": "...",
        "allowedActions": [
          "deleteContentItem"
        ],
        "author": {
          "__typename": "Author"
        }
      }
    }
  }
}
Example Response: PromoteContentItemDraftToPostsFailure

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "promoteContentItemDraftToPosts": {
      "__typename": "PromoteContentItemDraftToPostsFailure",
      "errors": [
        {
          "__typename": "ContentItemStateError",
          "message": "..."
        }
      ],
      "message": "..."
    }
  }
}
MUTATION publishPostNow (input: PublishPostNowInput!) : PublishPostNowPayload! ⚠️ Experimental

Publish a post now without adding it to the queue. A draft, scheduled, needs-approval or error post is sent. A post that is already sending or sent returns UnauthorizedError. The mutation returns once the post is queued for publishing, usually with status sending. Read the post again to see whether it was sent; when the network refuses it, its status is error and its error field says why.

Arguments
Name Type Description
input Required PublishPostNowInput! The mutation's input - See PublishPostNowInput for more details.
Example Response: PostActionSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "publishPostNow": {
      "__typename": "PostActionSuccess",
      "post": {
        "__typename": "Post",
        "id": "...",
        "allowedActions": [
          "addPostNote"
        ],
        "assets": [
          {
            "__typename": "DocumentAsset"
          }
        ],
        "author": {
          "__typename": "Author"
        }
      }
    }
  }
}
Example Response: error

Returned as one of: NotFoundError, UnauthorizedError, UnexpectedError.

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "publishPostNow": {
      "__typename": "NotFoundError",
      "message": "..."
    }
  }
}
Example Response: RestProxyError

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "publishPostNow": {
      "__typename": "RestProxyError",
      "code": 0,
      "link": "...",
      "message": "..."
    }
  }
}
MUTATION removePostFromContentItem (input: RemovePostFromContentItemInput!) : RemovePostFromContentItemPayload! ⚠️ Experimental

Remove a post from a content item. The post survives on its own channel and keeps its schedule, text, status, and tags. Only the link to the content item goes away. To delete a post, call deletePost.

A second call with a post that belongs to no content item changes nothing, and the mutation reports success.

Arguments
Name Type Description
input Required RemovePostFromContentItemInput! Input for removePostFromContentItem.
Example Response: RemovePostFromContentItemSuccess

Illustrative values; returned fields depend on your selection set.

{
  "data": {
    "removePostFromContentItem": {
      "__typename": "RemovePostFromContentItemSuccess",
      "contentItem": {
        "__typename": "ContentItem",
        "id": "...",
        "accountId": "...",
        "allowedActions": [
          "deleteContentItem"
        ],
        "author": {
          "__typename": "Author"
        }
      },
      "post": {
        "__typename": "Post",
        "id": "...",
        "allowedActions": [
          "addPostNote"
        ],
        "assets": [
          {
            "__typename": "DocumentAsset"
          }
        ],
        "author": {
          "__typename": "Author"
        }
      }
    }
  }
}
MUTATION updateCollaborationNote (input: UpdateCollaborationNoteInput!) : UpdateCollaborationNotePayload! ⚠️ Experimental

Updates a collaboration Note.

Arguments
Name Type Description
input Required UpdateCollaborationNoteInput! The replacement Note content.
Example Response: UpdateCollaborationNoteSuccess