GET
/
admin
/
emails
/
{email_id}
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

email_id
integer
required

The id of the email to view

Response

200
application/json
Successful operation
email
object

The email object

admins
object[]

The list of admins

responses
object[]

The responses to the email

disabled
string

Disabled status of the email