New message, a held thread or ask to a client (#2587 p5-B)
Changed onStarts a thread with a client from a person. The first message is held 10 seconds like every accountant send (undo with POST …/threads/{threadId}/messages/{messageId}/undo until undoUntil); the client sees it, and Slack gets it, only after the hold. to and cc are personKeys from GET …/message-recipients; a key that is not listed answers 422 MESSAGE_RECIPIENT_UNKNOWN, and with nobody in to the send is 422. The firm copy-owner preference applies when another person sends. If expectedCopyOwner was supplied and the preference has changed, 409 MESSAGE_SETTINGS_CHANGED prompts the sender to review the current recipients before retrying. Only an ask may set blocksClose; a [bracketed] part left in subject or body is 422; a person is in To or in Cc, not both. What the send recorded (kind, recipients) is stored with the thread (migration 658). Penny never sends: a signed-in person only, every API key is refused (404). Email delivery to to and cc is not part of this send: the thread shows in the client app and in Slack as today.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Request body
Response
Sent, held 10 seconds
Changes
- info
added the new optional request property
expectedCopyOwner - info
added the non-success response with the status
- info
- info
endpoint added
- info