curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/program/sub_program \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"link_id": 123,
"client_id": "<string>",
"user_id": 123
}
'{
"message": "Successfully created sub program"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Data to create a sub program
Successfully created sub program
"Successfully created sub program"
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/program/sub_program \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"link_id": 123,
"client_id": "<string>",
"user_id": 123
}
'{
"message": "Successfully created sub program"
}