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
| Header | Description |
|---|
x-api-key | Your API key. |
Body (form-data)
| Parameter | Description | Required | Default |
|---|
title | The title of the post. | Yes | |
description | The description of the post. | Yes | |
images | The image files. | Yes | |
socialId | The ID of the social media account to post to. | One of socialId or groupId is required. | |
groupId | The ID of the group to post to. | One of socialId or groupId is required. | |
photoCoverIndex | The index of the cover photo for the carousel. | No | 0 |
Response
| Status | Description |
|---|
200 OK | If the upload was successful. |
400 Bad Request | If the request is invalid. |
401 Unauthorized | If the API key is invalid. |
500 Internal Server Error | If there is an internal server error. |