Magidoc

CreatePublicationInput
Input Object

Fields

#

author

Non-null

Information related to the person who created the publication.

clientMutationId

ID

A unique identifier for the client performing the mutation.

content

The publication content. Markdown syntax is supported. The value must be lower than or equal to 1500 characters, otherwise it is truncated.

cta

An optional call-to-action button shown with the publication.

excerpt

A short extract of your publication content. The length must be less than or equal to 240 characters, otherwise the value is truncated. If no value is given, the extract is automatically generated from your publication content.

expiresAt

The date and time after which the publication is no longer shown, at most 30 days ahead and after publishedAt. Requires the Expiring Publications feature.

featuredImage

The URL of an image that represents the contents, mood, or theme of the publication.

forwardToEmails

Defines whether the publication must be forwarded to email subscribers. Note email sending requires a paid subscription and must be enabled manually from the Noticeable dashboard.

forwardToWebhooks

Defines whether the publication must be forwarded to Webhooks upon publication (i.e. the publication is not a draft). If enabled, be careful not to create forwarding loops.

forwardToZapier

Defines whether the publication must be forwarded to Zapier upon publication (i.e. the publication is not a draft). If enabled, be careful not to create forwarding loops.

hiddenComments

Defines whether hidden comments are enabled or not for this publication.

isArchived

Defines whether the publication is archived in the Noticeable dashboard.

isDraft

Non-null

Defines whether the publication is visible in your project's Newspage and Widget.

labels

A list of labels used to specify the subjects of your publication.

openWidgets

Defines whether the widgets open by themselves to show this publication to readers who have not seen it. If not given, the project's publication preference applies.

pinned

Defines whether the publication is pinned at the top of the lists. Requires the Pinned Publications feature.

projectId

ID!
Non-null

The identifier used to find the project where the publication is added to.

publishedAt

Non-null

The publication date and time.

reactions

Defines whether emoji reactions are enabled or not for this publication.

segments

[String]

A list of segmentation filters, aka segments, used to make this publication visible to specific users.

seo

Search engine and social sharing settings. Empty Open Graph and Twitter fields fall back to the meta ones.

slug

The slug is the URL-friendly version of your publication title used to create a permanent link. It is lowercase and must contain only letters, numbers and hyphens. If empty, the value is auto-generated from your publication title. In that case, an ID may be appended to ensure uniqueness in case of conflicts.

title

Non-null

A descriptive or general heading of your publication content. The length must be less than or equal to 80 characters, otherwise the value is truncated.

Usages

#

References

#

  • Argument input of field createPublication from type Mutation