Front API

Getting access, Developing, Testing

Back to Front

Create draft

Create a draft message which is the first message of a new conversation.

Input

type: object properties: parameters: type: object properties: channel_id: type: string description: (Required) The channel ID required: - channel_id title: Parameters data: type: object properties: author_id: type: string body: type: string to: type: array items: type: string cc: type: array items: type: string bcc: type: array items: type: string subject: type: string attachments: type: array items: type: string mode: type: string signature_id: type: string should_add_default_signature: type: boolean title: Data

Output

type: object properties: _links: type: object properties: self: type: string related: type: object properties: conversation: type: string message_replied_to: type: string id: type: string type: type: string is_inbound: type: boolean draft_mode: type: string error_type: type: string version: type: string created_at: type: number subject: type: string blurb: type: string author: type: object properties: _links: type: object properties: self: type: string related: type: object properties: inboxes: type: string conversations: type: string id: type: string email: type: string username: type: string first_name: type: string last_name: type: string is_admin: type: boolean is_available: type: boolean is_blocked: type: boolean recipients: type: array items: type: object properties: _links: type: object properties: related: type: object properties: contact: type: string handle: type: string role: type: string body: type: string text: type: string attachments: type: array items: type: object properties: id: type: string filename: type: string url: type: string content_type: type: string size: type: number metadata: type: object properties: is_inline: type: boolean cid: type: string signature: type: object properties: _links: type: object properties: self: type: string related: type: object properties: owner: type: string id: type: string name: type: string body: type: string sender_info: type: string is_visible_for_all_teammate_channels: type: boolean channel_ids: type: array items: type: string metadata: type: object properties: intercom_url: type: string duration: type: number have_been_answered: type: boolean external_id: type: string twitter_url: type: string is_retweet: type: boolean have_been_retweeted: type: boolean have_been_favorited: type: boolean thread_ref: type: string headers: type: object properties: {}