API referenceDrafts
Create a draft on a thread
POST
bearerAuthheader
AuthorizationBearer <mr_live_ / mr_test_>API key. Never log the secret.
id*stringIdempotency-Key?stringStored 24h. Same key + body returns the original response.
application/json- body
text?stringhtml?stringDraft
application/json- response
id?stringthread_id?stringtext?stringhtml?stringupdated_at?stringFormat
date-timecurl -X POST 'https://api.mailroom.gosuevals.com/v1/threads/string/drafts' \ -H 'Content-Type: application/json' \ -d '{}'Example Response201
{ "id": "string", "thread_id": "string", "text": "string", "html": "string", "updated_at": "2019-08-24T14:15:22Z"}