Skip to main content
GET
Upload a file

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Path Parameters

type
string
required

Type of the file (entity or donor)

id
integer
required

ID of the entity or donor

Response

Successful operation

type
string
Example:

"entity"

id
integer
Example:

1

name
string
Example:

"John Doe"

program
object
hysform
object
entity
object
program_id
string
Example:

"program1"

profileThumb
string
Example:

"http://example.com/thumb.jpg"

submit
object[]
donor
object
slug
string
Example:

"5f4dcc3b5aa765d61d8327deb882cf99"

upload
object
box_access_token
string
Example:

"access_token"

box_folder_id
string
Example:

"folder_id"

emailsets
boolean
Example:

false

years
object[]
template_errors
object[]