Zum Hauptinhalt springen

Get all message of the conversation

GET/conversations/{conversationId}/messages/
v2
GET
conversation-list-messages-by-conversation

Request

  • conversationIdstring (uuid)
    required

Responses

application/json
  • Array[
  • *one of 3 alternatives
    • Alternativeobject
      • conversationIdstring (uuid)
        required
      • createdAtstring (date-time)
        required
      • createdByobject
        • activeboolean
        • avatarRefIdstring
        • clearNamestring
        • departmentstring (one of: development, mail, accounting, cloudHosting, customerService, generic)
        • userIdstring
          required
      • filesarray of one of 2 alternatives
        • Array[
        • *one of 2 alternatives
          • Alternativeobject
            • idstring (uuid)
              required
            • status"requested"
              required
          • Alternativeobject
            • idstring (uuid)
              required
            • namestring
              required
            • status"uploaded"
              required
            • typestring
              required
        • ]
    • internalboolean
    • messageContentstring
    • messageIdstring (uuid)
      required
    • type"MESSAGE"
      required
  • Alternativeobject
    • conversationIdstring
      required
    • createdAtstring
      required
    • internalboolean
    • messageContentstring
      required
    • metaobject
      • userobject
        • activeboolean
        • avatarRefIdstring
        • clearNamestring
        • departmentstring (one of: development, mail, accounting, cloudHosting, customerService, generic)
        • userIdstring
          required
    • type"STATUS_UPDATE"
      required
  • Alternativeobject
    • conversationIdstring (uuid)
      required
    • createdAtstring (date-time)
      required
    • filesarray of one of 2 alternatives
      • Array[
      • *one of 2 alternatives
        • Alternativeobject
          • idstring (uuid)
            required
          • status"requested"
            required
        • Alternativeobject
          • idstring (uuid)
            required
          • namestring
            required
          • status"uploaded"
            required
          • typestring
            required
      • ]
  • internalboolean
    required
  • messageContentstring (one of: relocation, call)
    required
  • messageIdstring (uuid)
    required
  • metaone of 1 alternatives
    required
    • Alternativeobject
      • contactobject
        required
        • emailstring
          required
        • firstnamestring
          required
        • lastnamestring
          required
        • phonestring
      • domainobject
        • allDomainsboolean
        • domainsarray of object
          • Array[
          • *object
            • authCodestring
            • domainNamestring
          • ]
    • notesstring
    • preferredRelocationDatestring (date-time)
    • redirectusKeynumber
      required
    • sourceobject
      required
      • providerNamestring
        required
      • providerPasswordstring
        required
      • providerUrlstring
        required
      • providerUsernamestring
        required
      • sourceAccountstring
        required
    • targetobject
      required
      • accountShortIdstring
        required
      • applicationstring
      • articleTypestring
        required
      • organisationstring
        required
      • pricesarray of object
        • Array[
        • *object
          • namestring
          • pricenumber
        • ]
    • productstring
      required
    • withDataCompareboolean
  • userIdstring (uuid)
    required
  • type"SERVICE_REQUEST"
    required
  • ]

    Usage examples

    $ curl \
    --fail \
    --location \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    https://api.mittwald.de/v2/conversations/f0f86186-0a5a-45b2-aa33-502777496347/messages