POST
/
admin
/
message
/
draft
/
{entity_id}
/
{donor_id}
/
{from}
/
{file_id}
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>"
}

Path Parameters

entity_id
integer
required

The id of the entity

donor_id
integer
required

The id of the donor

from
string
required

The sender of the message

file_id
integer
required

The id of the file attached to the message

Body

application/json
Data needed to create the draft message
subject
string

The subject of the message

message
string

The content of the message

Response

200
application/json
Successful operation
message
string

Confirmation message