CreatePublicationInput Input Object
Fields
#
author
Information related to the person who created the publication.
content
The publication content. Markdown syntax is supported. The value must be lower than or equal to 1500 characters, otherwise it is truncated.
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.
isDraft
Defines whether the publication is visible in your project's Newspage and Widget.
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.
segments
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
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
CreatePostPayload