Upload an image
Stores an image and answers its address. Write that address into the design field you want
the picture in — logo, favicon, and so on.
The upload is not tied to a channel.
Body
required
application/json
Responses
- application/json
- application/json
- application/json
Request Example for post/v1/channels/images/
curl https://api.landbot.io/v1/channels/images/ \
--request POST \
--header 'Content-Type: multipart/form-data' \
--cookie 'sessionid=YOUR_SECRET_TOKEN' \
--form 'for=logo'
{
"success": true,
"url": "https://storage.googleapis.com/helloumy.com/4/channels/RDDST2REIANTK7Q1QQ95ZFQSY5XGMCC2.png"
}