Handles the login process for a user, including validation and authentication.
curl --request POST \
--url https://api.helpyousponsor.com/v1/frontend/login/{client_id}/{program_id}/{session_id} \
--header 'Content-Type: application/json' \
--data '{
"username": "<string>",
"password": "<string>"
}'
{
"message": "<string>",
"donor": {},
"client": {},
"redirect": "<string>",
"session_logged_in": true,
"status": "success"
}
Client ID for the login
Program ID for the login
Session ID for the login (optional)
Username and Password for login
The body is of type object
.
Login successful
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/frontend/login/{client_id}/{program_id}/{session_id} \
--header 'Content-Type: application/json' \
--data '{
"username": "<string>",
"password": "<string>"
}'
{
"message": "<string>",
"donor": {},
"client": {},
"redirect": "<string>",
"session_logged_in": true,
"status": "success"
}