App Authentication
Do not require authentication:
Do require authentication:
Authenticated Patch API endpoints use OAuth 2.0 methods to authenticate requests.
Get Started
On Discord, request a
client_id
andclient_secret
Request a Bearer token via the
/v1/auth
endpointProvide the Bearer token in the
Authorization
header
1) Get a client_id and client_secret
On Discord request a client_id
and client_secret
to access the service.
2) Request a Bearer token
Use the script below to get a Bearer token for your client_id
and client_secret
.
3) Call endpoints with Bearer token
API requests are authenticated using the Bearer Auth scheme. To authenticate a request, provide the Bearer token in the Authorization
header of the request:
Bearer tokens expire every 60 minutes so a new one needs to be generated.
Last updated