curl --request POST \
--url https://api.helpyousponsor.com/v1/csv_import/{program_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"file": "<string>",
"import_type": "<string>"
}'
{
"fields": [
{}
],
"first_row": [
"<string>"
],
"filename": "<string>",
"program_id": 123,
"program": {},
"import_type": "<string>",
"settings": {},
"aii": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the program
CSV file and import type
The body is of type object
.
Successful operation
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/csv_import/{program_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"file": "<string>",
"import_type": "<string>"
}'
{
"fields": [
{}
],
"first_row": [
"<string>"
],
"filename": "<string>",
"program_id": 123,
"program": {},
"import_type": "<string>",
"settings": {},
"aii": true
}