Actions176
- Health Check Actions
- Knowledge Manager Actions
- List Entities
- Create Entity
- Get Entity
- Update Entity
- Delete Entity
- List Language Profiles
- List All Language Profiles
- Get Language Profile
- Upsert Language Profile
- Delete Language Profile
- Get Locations
- Create Location
- Search Locations
- Get Location
- Update Location
- Get Location Folders
- Get Menus
- Create Menu
- Get Menu
- Update Menu
- Delete Menu List
- Get Bios
- Create Bio
- Get Bio
- Update Bio
- Delete Bio List
- Get Products
- Create Product
- Get Product
- Update Product
- Delete Product List
- Get Events
- Create Event
- Get Event
- Update Event
- Delete Event List
- Get Business Categories
- Get Google Keywords
- Get Custom Fields
- Create Custom Field
- Get Custom Field
- Update Custom Field
- Delete Custom Field
- Get Language Profiles
- Get Location Language Profile
- Upsert Location Language Profile
- Delete Location Language Profile
- List Assets
- Create Asset
- Get Asset
- Update Asset
- Delete Asset
- Upsert Suggestion
- List Suggestions
- Cancel Suggestion
- Get Suggestion
- Comment Suggestion
- Update Suggestion
- Listings Actions
- List Publishers
- List Listings
- Opt In Listings
- Opt Out Listings
- Confirm Sync Listings
- Force Sync Listings
- List Publisher Suggestions
- Get Publisher Suggestion
- Update Publisher Suggestion
- List Duplicates
- Create Duplicate
- Delete Duplicate
- Suppress Duplicate
- List Methods
- List Statuses
- Initiate Verification
- Complete Verification
- List Admins
- Invite Admins
- List Entity Listings
- Delete Listings
- List Questions
- Get Question
- Create Answer
- Update Answer
- Delete Answer
- Analytics Actions
- Logs API Actions
- Reviews Actions
- Social Actions
- Account Settings Actions
- Optimization Tasks Actions
- Connectors Actions
- Configuration Actions
- Licenses Actions
- Computations Actions
- Domains Actions
Social → Create Posts
AI-generatedSummary
Create social media posts for specified entities on a chosen publisher platform via the Yext Knowledge API, supporting multiple media types and scheduling options.
Inputs
- Account Id (required) — The identifier for the Yext account under which the post is created.
- V (required) — API version date in YYYYMMDD format to determine feature set and behavior.
- Entity Ids (required) — A JSON array of entity IDs for which the posts will be created.
- Publisher (required) — The social platform to publish the post to. Options include INSTAGRAM, FACEBOOK, FIRSTPARTY, GOOGLEMYBUSINESS, and LINKEDIN.
- Post Title — Internal title for the post (max 250 characters). If omitted, auto-generated from post text or defaults to "Media Only Post".
- Text — The textual content of the post, respecting character limits per publisher and embedded field formatting based on API version.
- Clickthrough Url — A URL linked in the post, required for Google posts with certain call-to-action types (except CALL).
- Photo Urls — A JSON array of publicly accessible photo URLs (up to 10), enabling multi-image or carousel posts mainly on Facebook and Instagram.
- Videos — A JSON object array describing video content to post; only one video per post is supported for Facebook and Instagram.
- Post Date — Scheduled publish date and time in UTC (format YYYY-MM-DD HH:MM:SS), to post in the future.
- Topic Type — The topic classification of the post, applicable only to Google posts, defaulting to STANDARD. Options are ALERT, EVENT, OFFER, STANDARD.
- Alert Type — Sub-type of alert post used with topicType ALERT, only for Google posts; e.g., COVID_19.
- Offer — Additional JSON data specific to offer-type Google posts.
- Call To Action Type — Defines the action type for Google posts, such as BOOK, CALL, LEARN_MORE, ORDER, or SIGN_UP.
- Event Info — JSON object containing event-specific details required for Google posts of topicType EVENT or OFFER.
Output shape
a single JSON object representing the created post(s) response from Yext Knowledge API
The output includes details of the created post(s) and may reflect scheduled status or errors if any. Pagination is not applicable.
Examples
Example 1: Create an Instagram post with text, photos, and scheduled date for multiple entities.
Set Account Id, V parameter (API version), an array of entity IDs, Publisher to INSTAGRAM, provide post text, photo URLs, and future postDate.