Skip to main content
POST
Upload base64 image and crop

Request

Send a POST request to below endpoint.
curl
Make sure you are passing the image in base64 format.

Body

json

Body

application/json
key
string
required

Your API Key used for request authorization

image
string
required

Image to be uploaded converted in base64 format

crop
enum<string>
default:true
required

A (true/false) flag for cropping the image upon uploading

Available options:
true,
false

Response

Base64 crop response

status
enum<string>
Available options:
success
messege
string
Example:

"image uploaded"

URL of the uploaded image

request_id
integer

Request ID for the uploaded image