POST
/
api
/
bot
/
upload-bot-profile-picture
curl --request POST \
  --url https://backend.chatfly.co/api/bot/upload-bot-profile-picture \
  --header 'Content-Type: multipart/form-data' \
  --form bot_id=3c90c3cc-0d44-4b50-8888-8dd25736052a
{
  "message_code": 123,
  "message": "<string>",
  "data": "<any>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

multipart/form-data
bot_id
string
required
file
file
required

A file read as UploadFile

Response

200
application/json
Successful Response

HTTP Response Schema.

message_code
integer
required

Numeric code indicating the type of message or response.

message
string
required

Human-readable message providing additional context about the response.

data
any

Optional data accompanying the response.