Create a draft
Changed onPrepares (optionally schedules) an unsent message. send_at must be in the future: a past time is refused with 422, because it would send the message at once.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
Inbox id (inbox_…)
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
Email address, or array/comma-separated list of addresses
Email address, or array/comma-separated list of addresses
Email address, or array/comma-separated list of addresses
The message this draft replies to: its id (msg_...) or its RFC 5322 Message-ID in angle brackets (<id@domain>). A message id is stored as that message's Message-ID, and the draft joins its thread. Anything else is rejected with 422.
Schedule send time (ISO 8601)
Response
Created
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
2 more changes in this revision
- warning