Skip to main content
GET
/
users
/
@me
/
scheduled-messages
List scheduled messages
curl --request GET \
  --url https://api.fluxer.app/v1/users/@me/scheduled-messages \
  --header 'Authorization: <api-key>'
[
  {
    "id": "<string>",
    "channel_id": "<string>",
    "scheduled_at": "<string>",
    "scheduled_local_at": "<string>",
    "timezone": "<string>",
    "status": "pending",
    "status_reason": "<string>",
    "payload": {
      "content": "<string>",
      "tts": true,
      "embeds": [
        {
          "type": "<string>",
          "url": "<string>",
          "title": "<string>",
          "color": 1073741823,
          "timestamp": "2023-11-07T05:31:56Z",
          "description": "<string>",
          "author": {
            "name": "<string>",
            "url": "<string>",
            "icon_url": "<string>",
            "proxy_icon_url": "<string>"
          },
          "image": {
            "url": "<string>",
            "flags": 1073741823,
            "proxy_url": "<string>",
            "content_type": "<string>",
            "content_hash": "<string>",
            "width": 1073741823,
            "height": 1073741823,
            "description": "<string>",
            "placeholder": "<string>",
            "duration": 1073741823
          },
          "thumbnail": {
            "url": "<string>",
            "flags": 1073741823,
            "proxy_url": "<string>",
            "content_type": "<string>",
            "content_hash": "<string>",
            "width": 1073741823,
            "height": 1073741823,
            "description": "<string>",
            "placeholder": "<string>",
            "duration": 1073741823
          },
          "footer": {
            "text": "<string>",
            "icon_url": "<string>",
            "proxy_icon_url": "<string>"
          },
          "fields": [
            {
              "name": "<string>",
              "value": "<string>",
              "inline": true
            }
          ],
          "provider": {
            "name": "<string>",
            "url": "<string>",
            "icon_url": "<string>",
            "proxy_icon_url": "<string>"
          },
          "video": {
            "url": "<string>",
            "flags": 1073741823,
            "proxy_url": "<string>",
            "content_type": "<string>",
            "content_hash": "<string>",
            "width": 1073741823,
            "height": 1073741823,
            "description": "<string>",
            "placeholder": "<string>",
            "duration": 1073741823
          },
          "audio": {
            "url": "<string>",
            "flags": 1073741823,
            "proxy_url": "<string>",
            "content_type": "<string>",
            "content_hash": "<string>",
            "width": 1073741823,
            "height": 1073741823,
            "description": "<string>",
            "placeholder": "<string>",
            "duration": 1073741823
          },
          "nsfw": true,
          "children": [
            {
              "type": "<string>",
              "url": "<string>",
              "title": "<string>",
              "color": 1073741823,
              "timestamp": "2023-11-07T05:31:56Z",
              "description": "<string>",
              "author": {
                "name": "<string>",
                "url": "<string>",
                "icon_url": "<string>",
                "proxy_icon_url": "<string>"
              },
              "image": {
                "url": "<string>",
                "flags": 1073741823,
                "proxy_url": "<string>",
                "content_type": "<string>",
                "content_hash": "<string>",
                "width": 1073741823,
                "height": 1073741823,
                "description": "<string>",
                "placeholder": "<string>",
                "duration": 1073741823
              },
              "thumbnail": {
                "url": "<string>",
                "flags": 1073741823,
                "proxy_url": "<string>",
                "content_type": "<string>",
                "content_hash": "<string>",
                "width": 1073741823,
                "height": 1073741823,
                "description": "<string>",
                "placeholder": "<string>",
                "duration": 1073741823
              },
              "footer": {
                "text": "<string>",
                "icon_url": "<string>",
                "proxy_icon_url": "<string>"
              },
              "fields": [
                {
                  "name": "<string>",
                  "value": "<string>",
                  "inline": true
                }
              ],
              "provider": {
                "name": "<string>",
                "url": "<string>",
                "icon_url": "<string>",
                "proxy_icon_url": "<string>"
              },
              "video": {
                "url": "<string>",
                "flags": 1073741823,
                "proxy_url": "<string>",
                "content_type": "<string>",
                "content_hash": "<string>",
                "width": 1073741823,
                "height": 1073741823,
                "description": "<string>",
                "placeholder": "<string>",
                "duration": 1073741823
              },
              "audio": {
                "url": "<string>",
                "flags": 1073741823,
                "proxy_url": "<string>",
                "content_type": "<string>",
                "content_hash": "<string>",
                "width": 1073741823,
                "height": 1073741823,
                "description": "<string>",
                "placeholder": "<string>",
                "duration": 1073741823
              },
              "nsfw": true
            }
          ]
        }
      ],
      "attachments": [
        {
          "id": "<string>",
          "filename": "<string>",
          "size": 1073741823,
          "flags": 1073741823,
          "title": "<string>",
          "description": "<string>",
          "content_type": "<string>",
          "content_hash": "<string>",
          "url": "<string>",
          "proxy_url": "<string>",
          "width": 1073741823,
          "height": 1073741823,
          "placeholder": "<string>",
          "nsfw": true,
          "duration": 1073741823,
          "waveform": "<string>",
          "expires_at": "<string>",
          "expired": true
        }
      ],
      "stickers": [
        {
          "id": "<string>",
          "name": "<string>",
          "animated": true
        }
      ],
      "sticker_ids": [
        "<string>"
      ],
      "allowed_mentions": {
        "parse": [
          "users"
        ],
        "users": [
          "<string>"
        ],
        "roles": [
          "<string>"
        ],
        "replied_user": true
      },
      "message_reference": {
        "message_id": "<string>",
        "channel_id": "<string>",
        "guild_id": "<string>",
        "type": 0
      },
      "flags": 1073741823,
      "nonce": "<string>",
      "favorite_meme_id": "<string>"
    },
    "created_at": "<string>",
    "invalidated_at": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.

Response

Success

id
string
required

The unique identifier for this scheduled message

channel_id
string
required

The ID of the channel this message will be sent to

scheduled_at
string
required

The ISO 8601 UTC timestamp when the message is scheduled to be sent

scheduled_local_at
string
required

The ISO 8601 timestamp in the user local timezone

timezone
string
required

The IANA timezone identifier used for scheduling

status
enum<string>
required

The current status of the scheduled message

Available options:
pending,
invalid,
scheduled,
sent,
failed,
cancelled
status_reason
string | null
required

A human-readable reason for the current status, if applicable

payload
object
required

The message content and metadata to be sent

created_at
string
required

The ISO 8601 timestamp when this scheduled message was created

invalidated_at
string | null
required

The ISO 8601 timestamp when the message was marked invalid