curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/emails/{email_id} \
--header 'Authorization: Bearer <token>'
{
"email": {
"id": 123,
"status": 123,
"to": "<string>",
"from_name": "<string>",
"from": "<string>",
"subject": "<string>",
"message": "<string>",
"date": "<string>",
"admin_assigned": 123
},
"admins": [
{
"id": 123,
"name": "<string>",
"email": "<string>"
}
],
"responses": [
{}
],
"disabled": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The id of the email to view
Successful operation
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/emails/{email_id} \
--header 'Authorization: Bearer <token>'
{
"email": {
"id": 123,
"status": 123,
"to": "<string>",
"from_name": "<string>",
"from": "<string>",
"subject": "<string>",
"message": "<string>",
"date": "<string>",
"admin_assigned": 123
},
"admins": [
{
"id": 123,
"name": "<string>",
"email": "<string>"
}
],
"responses": [
{}
],
"disabled": "<string>"
}