Update Draft
Changed onEdit fields on an existing draft. Passing null clears a field (or [] for a recipient field); send_at: null un-schedules a scheduled draft. A draft that is already being sent cannot be edited.
CLI:
agentmail inboxes drafts update --inbox-id <inbox_id> --draft-id <draft_id> --subject "Updated subject"
Request
- Base URLhttps://api.agentmail.to
- URLhttps://api.agentmail.to/v0/inboxes/{inbox_id}/drafts/{draft_id}
- AuthHTTP bearer
Path parameters
The ID of the inbox.
ID of draft.
Request body
Response
Response with status 200
Changes
- breaking
the request property
became not nullable - breaking
the request property
//became not nullable - breaking
the request property
//became not nullable - breaking
the request property
//became not nullable - breaking
the request property
//became not nullable - breaking
the request property
//became not nullable - breaking
the request property
//became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the
request property type changed fromarrayto no type - breaking
the
request property type changed fromarrayto no type - breaking
the
request property type changed fromstringto no type - breaking
the
request property type changed fromarrayto no type - breaking
the
request property type changed fromstringto no type, and format fromdate-timeto no format - breaking
the
request property type changed fromstringto no type - breaking
the
request property type changed fromstringto no type - breaking
the
request property type changed fromarrayto no type - info
the endpoint scheme security
Bearerwas added to the API - info
the endpoint scheme security
BearerAuthwas removed from the API - info
api tag
inboxes > draftsadded - info
api tag
InboxesDraftsremoved - info
request body became optional
- info
added
subschema #2to therequest propertyoneOflist - info
added
subschema #2to therequest propertyoneOflist - info
added
subschema #2to therequest propertyoneOflist - info
added
subschema #2to therequest propertyoneOflist - info
added
subschema #2to therequest propertyoneOflist - info
added
subschema #2to therequest propertyoneOflist - info
added
subschema #2to therequest propertyoneOflist - info
added
subschema #2to therequest propertyoneOflist
- breaking
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info