Skip to main content
POST
discord_search_messages

Authorizations

X-API-Key
string
header
required

Your fetchbean API key (fb_…). Keys are not accepted through Authorization.

Headers

Idempotency-Key
string

A caller-generated key for safely retrying this execution after a network failure. Reusing the same key with the same operation and input returns the original result; reusing it for a different call is rejected.

Body

application/json
guild_id
string

Connected Discord server id; omitted uses the default server.

content
string
channel_id
string[]
author_id
string[]
mentions
string[]
has
string[]
pinned
boolean
sort_by
Allowed value: "timestamp"
sort_order
Allowed value: "asc"
limit
integer
Required range: 1 <= x <= 25
offset
integer
Required range: 0 <= x <= 9975

Response

Success

The response is of type object.