curl --request POST \
--url https://api.helpyousponsor.com/v1/csv_process/{program_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client_id": 1,
"user_id": 1,
"program_id": 1
}'
{
"message": "Import has been queued. You will receive an email when the job has finished."
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful operation
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/csv_process/{program_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client_id": 1,
"user_id": 1,
"program_id": 1
}'
{
"message": "Import has been queued. You will receive an email when the job has finished."
}