curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/program \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Child Program",
"client_id": "1",
"prefix": "CP",
"user_id": "1"
}'
{
"message": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Data needed to create a child program
The body is of type object
.
Child program created successfully
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/program \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Child Program",
"client_id": "1",
"prefix": "CP",
"user_id": "1"
}'
{
"message": "<string>"
}