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
Successful operation
Fields related to the import type
First row of the CSV file
Name of the uploaded file
ID of the program
Program details
Type of import
Settings related to the import type
Auto increment ID status
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
}