curl --request POST \
--url https://api.helpyousponsor.com/v1/csv_process/{program_id}/relationships \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"client_id": 1,
"user_id": 1,
"program_id": 1
}
'{
"message": "Your import has been queued. You will receive an email when the job has finished."
}API key generated from Developer Settings. Format: hys_...
ID of the program
Successful operation
"Your import has been queued. You will receive an email when the job has finished."
curl --request POST \
--url https://api.helpyousponsor.com/v1/csv_process/{program_id}/relationships \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"client_id": 1,
"user_id": 1,
"program_id": 1
}
'{
"message": "Your import has been queued. You will receive an email when the job has finished."
}