Exclude Header

Easily filter out unnecessary details from endpoint responses

We know Discord's API responses can sometimes be quite extensive. To simplify your results, our API includes an exclude parameter, allowing you to leave out any data you don't need for a cleaner and more concise response.

Not all endpoints support this feature. Refer to the documentation page of each endpoint to check its availability.

How to use:

Simply add a header named exclude and input the names of the details you wish to filter separated by a comma.

BDFD Example
$httpAddHeader[exclude;names,separated,by,commas]
Discord.js Example
{
'headers': {
'exclude': 'names,separated,by,commas' 
    }
}

Last updated