Actions137
- Account Actions
- Automation Actions
- Broadcast Actions
- Contact Actions
- Contact Property Actions
- Domain Actions
- Email Actions
- Event Actions
- Inbox Actions
- Inbox Draft Actions
- Inbox Thread Actions
- Log Actions
- Receiving Email Actions
- Segment Actions
- Suppression Actions
- Template Actions
- Topic Actions
- Webhook Actions
Email → Share
AI-generatedSummary
Generate a shareable link for a sent email by specifying the email ID and optionally how long the link remains valid (up to 48 hours).
Inputs
- Authentication (required) — Choose between API Key or OAuth2 authentication for Resend API access.
- Email (required) — Select the sent email to share by either picking from a list of emails from previous sends or providing the email ID directly.
- Expires In — Optional duration string to set how long the shareable link will remain valid, such as '10m', '2 hours', or '1 day'. If omitted, defaults to 48 hours, which is the maximum allowed.
Output shape
a JSON object representing the shareable link for the specified email
The output contains the URL for sharing the email, which remains active for the requested expiration duration or the default 48 hours. Validate inputs to ensure the duration does not exceed 48 hours.
Examples
Example 1: Share a sent email from the list with a custom expiry
Select the email from the list and set 'Expires In' to '1h' to get a shareable link valid for one hour.
Example 2: Share by specifying email ID and use default expiry
Enter the email ID directly and leave 'Expires In' blank to generate a link valid 48 hours.