curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/message/draft/{entity_id}/{donor_id}/{from}/{file_id} \
--header 'Content-Type: application/json' \
--data '{
"subject": "<string>",
"message": "<string>"
}'
{
"message": "<string>"
}
The id of the entity
The id of the donor
The sender of the message
The id of the file attached to the message
Data needed to create the draft message
The body is of type object
.
Successful operation
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/message/draft/{entity_id}/{donor_id}/{from}/{file_id} \
--header 'Content-Type: application/json' \
--data '{
"subject": "<string>",
"message": "<string>"
}'
{
"message": "<string>"
}