curl --request GET \
--url https://api.helpyousponsor.com/v1/file/{type}/{id}/upload \
--header 'Authorization: Bearer <token>'
{
"type": "entity",
"id": 1,
"name": "John Doe",
"program": {},
"hysform": {},
"entity": {},
"program_id": "program1",
"profileThumb": "http://example.com/thumb.jpg",
"submit": [
{}
],
"donor": {},
"slug": "5f4dcc3b5aa765d61d8327deb882cf99",
"upload": {},
"box_access_token": "access_token",
"box_folder_id": "folder_id",
"emailsets": false,
"years": [
{}
],
"template_errors": [
{}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Type of the file (entity or donor)
ID of the entity or donor
Successful operation
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/file/{type}/{id}/upload \
--header 'Authorization: Bearer <token>'
{
"type": "entity",
"id": 1,
"name": "John Doe",
"program": {},
"hysform": {},
"entity": {},
"program_id": "program1",
"profileThumb": "http://example.com/thumb.jpg",
"submit": [
{}
],
"donor": {},
"slug": "5f4dcc3b5aa765d61d8327deb882cf99",
"upload": {},
"box_access_token": "access_token",
"box_folder_id": "folder_id",
"emailsets": false,
"years": [
{}
],
"template_errors": [
{}
]
}