SUBMIT_POST
The SUBMIT_POST handler allows users to create or edit posts. Posts can include text, media URLs, and additional data, along with hashtags.
Interaction Format
To interact with this handler, use the following format:
Input Parameters
content
String
Yes
Post content with up to 2000 characters.
media_urls
JSON Array
No
Array of media URLs (e.g., images or videos) with each URL ≤200 characters.
post_extra_data
JSON String
No
Additional post data in JSON format.
visibility
String
No
Visibility level of the post (default: public
).
post_id
String
No
Post ID for updating an existing post. If omitted, a new post will be created.
Validations
content
: Must be ≤2000 characters.media_urls
: Must be a valid JSON array of URLs, each ≤200 characters.post_extra_data
: Must be valid JSON.Post ID: Required for editing an existing post.
Response Format
Success
Error
Last updated