Messages

Fetch all messages on a single thread.

get/v2/messages

Query parameters

threadIdinteger required

The ID of the thread.

since_utcstring date-time nullable

Only messages after a specific date/time, or null for all messages.

include_draftsboolean

Include unsent drafts in results.

include_attachmentsboolean

Include attachments in the results.

Response

A pageable enumeration of messages.

limitinteger

The maximum number of records per page.

next_page_urlstring

URL to fetch the next page of records. A null value indicates that there are no more pages in the collection.

offsetinteger

The current offset from the start of the collection.

Changes

Changed in 3 of the 7 revisions of this API.71

  • 00db66c4418131See the full diff
    • added the new bot enum value to the allOf[PageableEnumerableOfThreadMessageViewModel]/items/items/allOf[subschema #2]/from_role response property for the response status 200

      response-property-enum-value-added

    • added the new pik_pak_go enum value to the allOf[PageableEnumerableOfThreadMessageViewModel]/items/items/allOf[subschema #2]/thread/allOf[subschema #2]/channel response property for the response status 200

      response-property-enum-value-added

    • added the new pik_pak_go enum value to the allOf[subschema #2]/thread/allOf[subschema #2]/channel response property for the response status 200

      response-property-enum-value-added

    • api operation id Messages_GetForThread removed and replaced with get-messages

      api-operation-id-removed

    • added the new trip_skip enum value to the allOf[PageableEnumerableOfThreadMessageViewModel]/items/items/allOf[subschema #2]/thread/allOf[subschema #2]/channel response property for the response status 200

      response-property-enum-value-added

    • added the new trip_skip enum value to the allOf[subschema #2]/thread/allOf[subschema #2]/channel response property for the response status 200

      response-property-enum-value-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new inhaven enum value to the allOf[PageableEnumerableOfThreadMessageViewModel]/items/items/allOf[subschema #2]/thread/allOf[subschema #2]/channel response property for the response status 200

      response-property-enum-value-added

    • added the new inhaven enum value to the allOf[subschema #2]/thread/allOf[subschema #2]/channel response property for the response status 200

      response-property-enum-value-added