Stores the draft reply on a thread so the user can review and send it from the inbox. Nothing is delivered. A thread holds a single draft, so saving again replaces it. subject, cc and bcc apply to email threads.
apiKeyAuth API key authentication. Create an API key in your user profile and include it in the x-api-key header.
In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"messagingThreadId": "ea642f89-7688-4a10-9525-46b6c79cc287",
"connectedAccountId": "ac03972a-5ca5-43c5-b96f-c519ac843b7a",
"providerMessageId": "string",
"provider": "google",
"direction": "inbound",
"sender": {
"attendeeId": "string",
"displayName": "string",
"string""string""string""string"The thread id the draft belongs to
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidcurl -X POST "https://loading/api/v1/messaging/threads/497f6eca-6276-4993-bfeb-53cbbbba6f08/drafts" \ -H "Content-Type: application/json" \ -d '{ "body": "string" }'length <= 998Email body as HTML. Use for paragraphs, for a line break within one, , , , as needed. Plain text is accepted and converted (blank line = new paragraph), but markdown is NOT rendered (asterisks and # appear literally). Do not add a signature, name or closing: the sender's signature is appended automatically.
1 <= length <= 100000items <= 100items <= 100