Allows a donor to send a message to an entity.
curl --request POST \
--url https://api.helpyousponsor.com/v1/frontend/donor/dashboard/entity/compose_message/{client_id}/{program_id}/{entity_id}/{parent_id}/{session_id} \
--header 'Content-Type: application/json' \
--header 'session_id: <api-key>' \
--data '
{
"message": "Message content",
"subject": "Subject of Message"
}
'{
"status": "success",
"redirect": "<string>"
}Use a session id to authenticate
Client ID associated with the donor
Program ID associated with the donor
Entity ID for which the message is intended
Parent ID for the message thread
"1 or undefined"
Session ID for the donor
Message data from donor
curl --request POST \
--url https://api.helpyousponsor.com/v1/frontend/donor/dashboard/entity/compose_message/{client_id}/{program_id}/{entity_id}/{parent_id}/{session_id} \
--header 'Content-Type: application/json' \
--header 'session_id: <api-key>' \
--data '
{
"message": "Message content",
"subject": "Subject of Message"
}
'{
"status": "success",
"redirect": "<string>"
}