curl --request POST \
--url https://api.helpyousponsor.com/v1/frontend/donor/recordUpload/{client_id}/{session_id} \
--header 'Content-Type: application/json' \
--header 'session_id: <api-key>' \
--data '{
"status": "box_duplicate",
"hys_slug": "file_slug",
"hys_ext": "pdf",
"name": "file_name",
"type": "image/jpeg",
"email": true
}'
{
"message": "successfully posted to box"
}
Use a session id to authenticate
Upload record details
The body is of type object
.
File upload record success response
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/frontend/donor/recordUpload/{client_id}/{session_id} \
--header 'Content-Type: application/json' \
--header 'session_id: <api-key>' \
--data '{
"status": "box_duplicate",
"hys_slug": "file_slug",
"hys_ext": "pdf",
"name": "file_name",
"type": "image/jpeg",
"email": true
}'
{
"message": "successfully posted to box"
}