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 → Update Post
AI-generatedSummary
Update an existing social post on a specified Yext account by modifying its content and related metadata.
Inputs
- Account Id (required) — The ID of the Yext account that owns the post to update.
- V (required) — The version date in YYYYMMDD format for indexing the API.
- Post Id (required) — The unique identifier of the social post to update.
- Text — The updated copy text for the post.
- Photo Urls — A JSON array of publicly accessible photo URLs for the post; currently only one photo is supported.
- Alert Type — Specifies the alert subtype if the post is of topicType ALERT; options include UNSPECIFIED or COVID 19.
- Offer — Additional offer-related data as JSON, applicable to Google posts.
- Call To Action Type — Defines the action type on the post, such as BOOK, CALL, LEARN MORE, ORDER, or SIGN UP; required if clickthrough URL is provided and the post is on Google.
- Clickthrough Url — URL linked from the post for user clickthrough.
- Event Info — Event-related information as JSON, required for topicType EVENT and OFFER posts, supported only on Google posts.
Output shape
a single JSON object representing the updated social post as returned by the Yext Knowledge API
The operation requests and returns a single updated post object. The API version is specified via the
vquery parameter. Optional fields may be omitted if not needed. Any invalid JSON in JSON fields will result in error.
Examples
Example 1: Update the text and add a photo URL to a specific social post on a Yext account.
Provide Account Id, version date (v), Post Id, updated Text, and Photo Urls as JSON array with one URL.