API: Resending an Email
This document provides a guide for software developers to use the Archiver REST API.
This endpoint is used to resend an email. Note that this feature is only available if Resend has been enabled for your Archiver account. Please check with your Sageflo Account Manager if you are unsure of your account settings.
Service URL:
post | /api/v1/email/send |
---|
The service URL will depend on whether your Archiver account is hosted within the US or EU. Please ask your Sageflo Account Manager if you are not sure which to use.
Request Method:
Post
HTTP Headers:
Authorization: <AUTHORIZATION TOKEN>
Content-Type: application/json
Request JSON:
{ "locator": "<The email locator id. This is from the locator attribute of the email search result.>", "email": "<The destination email address that the email should be sent to>", "subject": "<The subject line. This can be retrieved from the subject attribute of the email search result>" }
Sample Request JSON
{ "locator": "bGlmdHNjaWVuY2UudGVzdC5idWNrZXR8fDIwMTYwMjE1LWRlbW8tZW1haWxzfHwyNTM4NzR8f", "email": "johnsmith@google.com", "subject": "RESEND: You've been rewarded! 20% OFF + Free Shipping on your ENTIRE ORDER!" }
HTTP Status Code:
The API will return a status code of 200 for a successful request.