POST
/
frontend
/
donor
/
recordUpload
/
{client_id}
/
{session_id}
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"
}

Authorizations

session_id
string
header
required

Use a session id to authenticate

Path Parameters

client_id
string
required

Unique identifier for the client

session_id
string
required

Body

application/json
Upload record details
status
string
required
Example:

"box_duplicate"

hys_slug
string
required
Example:

"file_slug"

hys_ext
string
required
Example:

"pdf"

name
string
required
Example:

"file_name"

type
string
required
Example:

"image/jpeg"

email
boolean
required
Example:

true

Response

200
application/json
File upload record success response
message
string
Example:

"successfully posted to box"