curl --request POST \
--url https://services.leadconnectorhq.com/forms/image \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--header 'Version: <version>' \
--form 'formId=<string>' \
--form 'locationId=<string>' \
--form 'type=<string>'{
"statusCode": 400,
"message": "Bad Request"
}Add image in Storage
curl --request POST \
--url https://services.leadconnectorhq.com/forms/image \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--header 'Version: <version>' \
--form 'formId=<string>' \
--form 'locationId=<string>' \
--form 'type=<string>'{
"statusCode": 400,
"message": "Bad Request"
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-07-28 Successful response
Was this page helpful?