1.3 Create Video Container
POST {{api_host}}/me/threads?text=This is a video&media_type=VIDEO&video_url={{video_url}}&alt_text=An example video
Use the POST
/{threads-user-id}/threads endpoint to create a video container.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
text | string | The text associated with the post. The first URL included in the text field will be used as the link preview for the post. For text-only posts, this parameter is required. | |
media_type | string | Set to VIDEO. Indicates the current media type. Note: Type CAROUSEL is not available for single thread posts. | |
video_url | string | ||
alt_text | string | The accessibility label or alt text for the video. |