Skip to main content
POST https://api.craftkit.dev/v1/renders/:id/email
Creates an email-channel share and sends the document to the recipient via Resend in one call. The render must have succeeded. Email must be configured on the deployment (RESEND_API_KEY + a sender address) or this returns 503. See Sharing.

Authorization

string
required
Bearer ck_live_…

Path parameters

string
required
The render id.

Body

string
required
Recipient email (valid email address).
string
Recipient display name for the greeting (max 200 chars).
string
Optional note included in the email body (max 2000 chars).
string
ISO 8601 timestamp. Sets an expiry on the share link. Omit for no auto-expiry.

Response

201:
string
The created share id (channel email).
string
string
The link delivered in the email: {shareBase}/share/{shareToken}.
string
Resend provider message id for the sent email.
string
ISO 8601 timestamp the email was dispatched.

Errors

cURL
201