messages

Create Many messages

post/batch/messages

Request

  • Base URL: https://twenty.mardu.systems/rest
  • URL: https://twenty.mardu.systems/rest/batch/messages
  • Auth: HTTP bearer

Query parameters

depth0 | 1

Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations

upsertboolean

If true, creates the object or updates it if it already exists.

Request body

headerMessageIdstring

Message id from the message header

direction'INCOMING' | 'OUTGOING'

Message Direction

subjectstring

Subject

textstring

Text

receivedAtstring date-time

The date the message was received

messageThreadIdstring uuid

Example request

[
  {
    "direction": "INCOMING"
  }
]

Response

Successful operation

Changes

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