Skip to content

Get an email body

Request

Get the HTML content, subject, and attachments of an email body.

Security
bearerAuth
Path
uuidstringrequired

Resource UUID.

GET
/emails/api/email-bodies/{uuid}
curl -i -X GET \
  'https://leadgen.grinfi.io/emails/api/email-bodies/{uuid}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Email body details.

Bodyapplication/json
uuidstring, (uuid)
team_idinteger
bodystring
attachmentsArray of objects
subjectstring
created_atstring, (date-time)
updated_atstring, (date-time)
Response
{ "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "team_id": 0, "body": "string", "attachments": [ {} ], "subject": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }