Skip to main content

Carousel Upload

This endpoint allows you to upload an image carousel in a single request. You must provide either a socialId or a groupId to specify the target social media platform(s).

POST /upload/carousel

Headers

HeaderDescription
x-api-keyYour API key.

Body (form-data)

ParameterDescriptionRequiredDefault
titleThe title of the post.Yes
descriptionThe description of the post.Yes
imagesThe image files.Yes
socialIdThe ID of the social media account to post to.One of socialId or groupId is required.
groupIdThe ID of the group to post to.One of socialId or groupId is required.
photoCoverIndexThe index of the cover photo for the carousel.No0

Response

StatusDescription
200 OKIf the upload was successful.
400 Bad RequestIf the request is invalid.
401 UnauthorizedIf the API key is invalid.
500 Internal Server ErrorIf there is an internal server error.