Emails

Retrieve Email Renders

Changed on

Retrieve rendered HTML for a specific email

get/emails/{id}/renders

Request

  • Base URL
    https://api.buttondown.com/v1
  • URL
    https://api.buttondown.com/v1/emails/{id}/renders
  • Auth
    API key in header Authorization

Path parameters

idstring required

Query parameters

target'email' | 'html' required

The target format for the rendered HTML. Use 'email' for rendered_html_for_email or 'html' for rendered_html_for_web.

Response

OK

contentstring required

The rendered HTML for the specified target format.

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      the response's property type changed from no type to string for status

    • breaking

      the response's property type changed from no type to string for status

    • breaking

      the response's property type changed from no type to string for status

    • info

      the endpoint scheme security ApiKeyAuth was added to the API

    • info

      the endpoint scheme security PermissionAuthenticationRequirement was removed from the API

    • info

      api tag Emails added

    • info

      added the non-success response with the status