You are reading the documentation for the
next
version of discord.js. Documentation for v13/v14+ has been moved to
old.discordjs.dev
/
docs
/
packages
/
rest
/
main
/
RequestHeaders%3AInterface
Search...
K
rest
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
Classes
CDN
DiscordAPIError
HTTPError
RateLimitError
REST
Functions
calculateUserDefaultAvatarIndex
makeURLSearchParams
parseResponse
Enums
RequestMethod
RESTEvents
Interfaces
APIRequest
BaseImageURLOptions
DiscordErrorData
ImageURLOptions
InvalidRequestWarningData
MakeURLOptions
OAuthErrorData
RateLimitData
RawFile
RequestBody
RequestData
RequestHeaders
ResponseLike
RestEvents
RESTOptions
Types
HandlerRequestData
ImageExtension
ImageSize
RateLimitQueueFilter
RestEventsMap
RouteLike
StickerExtension
Variables
ALLOWED_EXTENSIONS
ALLOWED_SIZES
ALLOWED_STICKER_EXTENSIONS
BurstHandlerMajorIdKey
DefaultRestOptions
DefaultUserAgent
DefaultUserAgentAppendix
OverwrittenMimeTypes
version
RequestHeaders
export declare interface
RequestHeaders
export declare interface
RequestHeaders
Summary
Possible headers for an API call
Properties
"User-Agent"
:
string
"X-Audit-Log-Reason"?
:
string
Authorization?
:
string