Mega icon

Mega

Work with Mega API

Scheduled Message → Get Many

AI-generated

Summary

Retrieve a list of scheduled messages either at the account level or for a specific conversation.

Inputs

  • Scope (required) — Select whether to retrieve scheduled messages for the entire account or within a specific conversation.
  • Conversation ID (required) — If Scope is set to 'Conversation', specify the ID of the conversation from which to retrieve scheduled messages.

Output shape

a list of scheduled message records

The output contains multiple scheduled message items. When Scope is 'conversation', the Conversation ID parameter is required to filter messages accordingly.

Examples

Example 1: Get all scheduled messages for the account

Set Scope to 'account'; no Conversation ID needed.

Example 2: Get scheduled messages for a specific conversation

Set Scope to 'conversation' and provide the Conversation ID.

Links

Discussion