Write draft
Create or replace a message, connection request, or sequence draft
Authorizations
Pass API key as Authorization: Bearer <api_key>.
Body
- Option 1
- Option 2
Provide exactly one target: conversation_id or contact_id. Provide exactly one of draft_message, steps, or template_id.
LinkedIn account ID returned by GET /v1/accounts.
^[1-9][0-9]*$Existing conversation ID returned by GET /v1/conversations. Provide exactly one target.
1Contact ID returned by GET /v1/contacts or a contact import's results. Provide exactly one target.
^[1-9][0-9]*$Plain-text draft. Surrounding whitespace is trimmed and the existing draft for the selected compose context is replaced. Provide exactly one of draft_message, steps, or template_id.
1Ordered sequence steps staged in the conversation for the user to launch in TalkToHumans. Provide exactly one of draft_message, steps, or template_id.
1Template ID returned by GET /v1/templates. Writes the draft from a message or sequence template. Provide exactly one of draft_message, steps, or template_id.
1Values for the template's own {{key}} variables, keyed by variable key. Only with template_id.
Variables can be left unfilled by omitting them or passing an empty value; they stay in the draft for the user to fill in TalkToHumans. Keys the template does not use return 400 bad_request listing them.
Response
Draft saved in TalkToHumans. The message was not sent.