v2

latestOpenAPI 3.1.02026-07-26391214472.7 KB
records

Draft Email For Record

Return a drafted email (subject + body) personalized to the record.

Does NOT send. The caller decides what to do with the draft.

post/api/v1/objects/{object_type}/records/{record_id}/draft-email

Path parameters

object_typestring required
record_idinteger required

Headers

authorizationstring nullable
X-API-Keystring nullable

Request body

intentstring required
tonestring

Response

Successful Response

subjectstring required
bodystring required
recipient_emailstring nullable
recipient_namestring nullable