Acoustic Connect icon

Acoustic Connect

Interact with Acoustic Connect GraphQL API

Message → Get Messages

AI-generated

Summary

Fetch messages with optional filtering, limiting, and pagination controls

Inputs

  • returnAll — Whether to return all results or only up to a given limit
  • limit — Max number of results to return
  • options — Container for additional filter options
  • channels — Filter by message channels
  • status — Filter by message status
  • tags — Comma-separated list of tags to filter by
  • createdAfter — Filter messages created after this date
  • createdBefore — Filter messages created before this date
  • personalizationTypes — Filter by personalization types
  • linkTypes — Filter by link types

Output shape

Array of message objects

Response may be paginated; fields may be optional; errors are handled separately

Examples

Example 1: Retrieve up to 100 active messages using Email channel and a tag filter

returnAll: false, limit: 100, channels: ["EMAIL"], status: ["ACTIVE"], tags: "campaign"

Example 2: Fetch all messages created in the last week

returnAll: true, createdAfter: "2024-09-01T00:00:00Z"

Links

Discussion