Skip to main content
POST
/
send-image
Error
A valid request URL is required to generate request examples
{
  "status": "success",
  "message": "Operation completed successfully"
}

Body

application/json
token
string
required

JWT Access Token of the sender (mobile app user).

Example:

"eyJ..."

assistant_id
integer
required

ID of the assistant user to whom the media is sent.

Example:

101

file_path
string
required

Path or URL to the image/audio file.

Example:

"http://example.com/media/image1.jpg"

Response

Image sent successfully.

status
string
Example:

"success"

message
string
Example:

"Operation completed successfully"