Drafts

Update a draft that has not yet been sent

patch/drafts/{id}

Request

  • Base URL: https://api.automessage.app/v1
  • URL: https://api.automessage.app/v1/drafts/{id}
  • Auth: API key in header X-API-KEY

Request body

bodystring
tostring

E.164 phone or email

Response

Updated draft.

idstring required
tostring required

Empty for a group draft (addressed by chatGUID).

conversationIdstring nullable

The existing thread this draft targets, when there is one (set for conversationId sends and for to sends that match a thread).

chatGUIDstring nullable

Group drafts only: the chat id in the connector's any;+;<id> form.

bodystring required
sentboolean required
sentAtstring date-time nullable
scheduledAtstring date-time nullable
createdAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.