This endpoint allows uploading images in buffer format and returns the file URL along with related information.
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params multipart/form-data
Request Code Samples
curl --location --request POST 'https://integration.returning.ai/apis/v1/messages/upload-image' \
--header 'Authorization: Bearer <token>' \
--form 'images=@""'
Responses
application/json [
{
"id": "string",
"name": "string",
"url": "string",
"type": "string",
"size": 0
}
]
Modified at 2026-03-09 08:30:56