POST
/
csv_import
/
{program_id}
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

program_id
integer
required

ID of the program

Body

application/json

CSV file and import type

The body is of type object.

Response

200
application/json

Successful operation

The response is of type object.