multipart/form-data under the images field./v1/messages/upload-image with the request body, query parameters, or multipart fields shown below. Authorization: Bearer <apiKey>. Community API keys require the matching messaging permission. User API keys can also be used for supported message actions and may be channel-restricted.sendMessage or user permission sendMessages.data with status and message.400 invalid request body, query, ObjectId, pagination, file format, or missing required field.401 missing, invalid, expired, or insufficient API key/token.403 key is valid but cannot access this community/channel/user/resource, where supported by the service.404 target resource, route, or community-scoped record was not found.409 duplicate or conflicting state for create/update operations, where applicable.500 unexpected Returning.AI service error.curl --location 'https://api.returning.ai/v1/messages/upload-image' \
--form 'images=@""'[
{
"id": "string",
"name": "string",
"url": "string",
"type": "string",
"size": 0
}
]