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:
Header name:
exclude
Header value: object names to exclude from the result, separated by a comma
This basically tells the function to forget about that object and all of its nested objects
Last updated