POST
/
admin
/
program
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>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
Data needed to create a child program
name
string
Example:

"Child Program"

client_id
string
Example:

"1"

prefix
string
Example:

"CP"

user_id
integer
Example:

"1"

Response

200
application/json
Child program created successfully
message
string