curl --request POST \
--url https://api.helpyousponsor.com/v1/client/admin/{client_id} \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"email": "admin@gmail.com",
"custom_password": true,
"first_name": "John",
"last_name": "Doe",
"group": "1",
"client_id": "1"
}
'{
"message": "<string>"
}API key generated from Developer Settings. Format: hys_...
Admin account created successfully
curl --request POST \
--url https://api.helpyousponsor.com/v1/client/admin/{client_id} \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"email": "admin@gmail.com",
"custom_password": true,
"first_name": "John",
"last_name": "Doe",
"group": "1",
"client_id": "1"
}
'{
"message": "<string>"
}