Searches for messages across guilds and channels accessible to the authenticated user.
curl --request POST \
--url https://api.fluxer.app/v1/search/messages \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"hits_per_page": 13,
"page": 4503599627370496,
"max_id": "<string>",
"min_id": "<string>",
"content": "<string>",
"contents": [
"<string>"
],
"exact_phrases": [
"<string>"
],
"channel_id": [
"<string>"
],
"exclude_channel_id": [
"<string>"
],
"author_type": [
"user"
],
"exclude_author_type": [
"user"
],
"author_id": [
"<string>"
],
"exclude_author_id": [
"<string>"
],
"mentions": [
"<string>"
],
"exclude_mentions": [
"<string>"
],
"mention_everyone": true,
"pinned": true,
"has": [
"image"
],
"exclude_has": [
"image"
],
"embed_type": [
"image"
],
"exclude_embed_type": [
"image"
],
"embed_provider": [
"<string>"
],
"exclude_embed_provider": [
"<string>"
],
"link_hostname": [
"<string>"
],
"exclude_link_hostname": [
"<string>"
],
"attachment_filename": [
"<string>"
],
"exclude_attachment_filename": [
"<string>"
],
"attachment_extension": [
"<string>"
],
"exclude_attachment_extension": [
"<string>"
],
"sort_by": "timestamp",
"sort_order": "asc",
"include_nsfw": true,
"scope": "current",
"context_channel_id": "<string>",
"context_guild_id": "<string>",
"channel_ids": [
"<string>"
]
}
'{
"messages": [
{
"id": "<string>",
"channel_id": "<string>",
"author": {
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"global_name": "<string>",
"avatar": "<string>",
"avatar_color": 1073741823,
"flags": 1073741823,
"bot": true,
"system": true
},
"type": 0,
"flags": 1073741823,
"content": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pinned": true,
"mention_everyone": true,
"webhook_id": "<string>",
"edited_timestamp": "2023-11-07T05:31:56Z",
"tts": true,
"mentions": [
{
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"global_name": "<string>",
"avatar": "<string>",
"avatar_color": 1073741823,
"flags": 1073741823,
"bot": true,
"system": true
}
],
"mention_roles": [
"<string>"
],
"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
}
],
"reactions": [
{
"emoji": {
"name": "<string>",
"id": "<string>",
"animated": true
},
"count": 1073741823,
"me": true
}
],
"message_reference": {
"channel_id": "<string>",
"message_id": "<string>",
"type": 0,
"guild_id": "<string>"
},
"message_snapshots": [
{
"timestamp": "2023-11-07T05:31:56Z",
"type": 0,
"flags": 1073741823,
"content": "<string>",
"edited_timestamp": "2023-11-07T05:31:56Z",
"mentions": [
"<string>"
],
"mention_roles": [
"<string>"
],
"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
}
]
}
],
"nonce": "<string>",
"call": {
"participants": [
"<string>"
],
"ended_timestamp": "2023-11-07T05:31:56Z"
}
}
],
"total": 1073741823,
"hits_per_page": 1073741823,
"page": 1073741823
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
Number of results per page (1-25)
1 <= x <= 25Page number for pagination
1 <= x <= 9007199254740991Text content to search for
Multiple content queries to search for
100Exact phrases that must appear contiguously in message content
10Channel IDs to search in
500Channel IDs to exclude from search
500Author types to filter by
The type of author who sent the message
user, bot, webhook Author types to exclude
The type of author who sent the message
user, bot, webhook Author user IDs to filter by
Author user IDs to exclude
User IDs that must be mentioned
User IDs that must not be mentioned
Filter by whether message mentions everyone
Filter by pinned status
Content types the message must have
The type of content contained in a message
image, sound, video, file, sticker, embed, link, poll, snapshot Content types the message must not have
The type of content contained in a message
image, sound, video, file, sticker, embed, link, poll, snapshot Embed types to filter by
The type of embed content
image, video, sound, article Embed types to exclude
The type of embed content
image, video, sound, article Embed providers to filter by
Embed providers to exclude
Link hostnames to filter by
Link hostnames to exclude
Attachment filenames to filter by
Attachment filenames to exclude
File extensions to filter by
File extensions to exclude
The field to sort search results by
timestamp, relevance The order to sort search results
asc, desc Whether to include NSFW channel results
Search scope for message searches
current, open_dms, all_dms, all_guilds, all, open_dms_and_all_guilds Specific channel IDs to search in
500Success
The messages matching the search query
100Show child attributes
The total number of messages matching the search
0 <= x <= 2147483647The maximum number of messages returned per page
0 <= x <= 2147483647The current page number
0 <= x <= 2147483647curl --request POST \
--url https://api.fluxer.app/v1/search/messages \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"hits_per_page": 13,
"page": 4503599627370496,
"max_id": "<string>",
"min_id": "<string>",
"content": "<string>",
"contents": [
"<string>"
],
"exact_phrases": [
"<string>"
],
"channel_id": [
"<string>"
],
"exclude_channel_id": [
"<string>"
],
"author_type": [
"user"
],
"exclude_author_type": [
"user"
],
"author_id": [
"<string>"
],
"exclude_author_id": [
"<string>"
],
"mentions": [
"<string>"
],
"exclude_mentions": [
"<string>"
],
"mention_everyone": true,
"pinned": true,
"has": [
"image"
],
"exclude_has": [
"image"
],
"embed_type": [
"image"
],
"exclude_embed_type": [
"image"
],
"embed_provider": [
"<string>"
],
"exclude_embed_provider": [
"<string>"
],
"link_hostname": [
"<string>"
],
"exclude_link_hostname": [
"<string>"
],
"attachment_filename": [
"<string>"
],
"exclude_attachment_filename": [
"<string>"
],
"attachment_extension": [
"<string>"
],
"exclude_attachment_extension": [
"<string>"
],
"sort_by": "timestamp",
"sort_order": "asc",
"include_nsfw": true,
"scope": "current",
"context_channel_id": "<string>",
"context_guild_id": "<string>",
"channel_ids": [
"<string>"
]
}
'{
"messages": [
{
"id": "<string>",
"channel_id": "<string>",
"author": {
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"global_name": "<string>",
"avatar": "<string>",
"avatar_color": 1073741823,
"flags": 1073741823,
"bot": true,
"system": true
},
"type": 0,
"flags": 1073741823,
"content": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pinned": true,
"mention_everyone": true,
"webhook_id": "<string>",
"edited_timestamp": "2023-11-07T05:31:56Z",
"tts": true,
"mentions": [
{
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"global_name": "<string>",
"avatar": "<string>",
"avatar_color": 1073741823,
"flags": 1073741823,
"bot": true,
"system": true
}
],
"mention_roles": [
"<string>"
],
"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
}
],
"reactions": [
{
"emoji": {
"name": "<string>",
"id": "<string>",
"animated": true
},
"count": 1073741823,
"me": true
}
],
"message_reference": {
"channel_id": "<string>",
"message_id": "<string>",
"type": 0,
"guild_id": "<string>"
},
"message_snapshots": [
{
"timestamp": "2023-11-07T05:31:56Z",
"type": 0,
"flags": 1073741823,
"content": "<string>",
"edited_timestamp": "2023-11-07T05:31:56Z",
"mentions": [
"<string>"
],
"mention_roles": [
"<string>"
],
"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
}
]
}
],
"nonce": "<string>",
"call": {
"participants": [
"<string>"
],
"ended_timestamp": "2023-11-07T05:31:56Z"
}
}
],
"total": 1073741823,
"hits_per_page": 1073741823,
"page": 1073741823
}