POST
/
api
/
v1
/
uploadImage
curl --request POST \
  --url https://hero.page/api/v1/uploadImage \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "base64": "data:image/png;base64,iVBORw0KG...",
  "name": "ProfileImage"
}'
{
  "url": "https://url-for-image-example.com/api_images_YourFileName_1628009230000.png"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201
application/json
Image uploaded successfully

The response is of type object.