Ask about anything in DailyStory Developer Documentation

Type a question in your own words below. Answers are written from our published articles and cite the ones they came from.

Recently updated

    Dashboard
    Edit Article Logout

    Get Email


    Returns the specified email by id. Emails at any status are returned (including deleted and archived) β€” inspect the status field on the returned object to distinguish. The body field contains the rendered HTML; components contains the structured editor JSON used by the DailyStory designer.

    Path Parameters
    idnumberrequired
    The id of the email to return.
    HTTP Response Examples
    200
    { "Status": true, "Message": "", "Response": { "email": { "emailId": 93, "name": "An example email", "tenantId": 112, "campaignId": 144, "parentId": 0, "status": "Active", "type": "Email", "from": "\"Unit Test Account\" <rob@example.com>", "subject": "This is an example email", "preheader": "", "replyTo": "", "body": "... encoded html", "plaintext": "", "css": "", "components": "", "previewUrl": "https://cdn-us-1.azureedge.net/ghg0ctulvdx7bu10/assets/asset-Email-93.png?t=yqx3", "isEnabled": true, "isWebViewEnabled": false, "isOpenTrackingEnabled": true, "isClickTrackingEnabled": true, "isTransactional": false, "useruid": "owx7c4cd5q80geu0", "date_last_sent": "2021-06-12T18:59:02.477", "date_last_created": "2017-06-05T09:58:00.937", "date_last_modified": "2021-11-20T22:37:12.82", "total_sent": 1409, "total_delivered": 1234, "total_failed": 6, "total_opened": 4, "total_clicked": 1, "total_optout": 0 } } }
    HTTP Response Parameters
    emailobject
    The email record. Key fields: emailId, name, description, campaignId, parentId, status (Active/Paused/Archived/Deleted), type (Email), from, subject, preheader, replyTo, body (HTML), plaintext, css, components (designer JSON), amp, previewUrl, isEnabled, isWebViewEnabled, isOpenTrackingEnabled, isClickTrackingEnabled, isTransactional, isIgnoreAutoReply, useruid (author), date_last_sent, date_last_created, date_last_modified, and send statistics (total_sent, total_delivered, total_failed, total_opened, total_clicked, total_optout).

    How helpful was this article?

    πŸ‘ or πŸ‘Ž

    Related Articles

    Markdown Version