The API only works for user with DIY plan, and have linked their Discord account.The API will return the list of linked Discord accounts in an array format.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET '/api/v1/discord/tokens' \
--header'Authorization: Bearer <token>'
Responses
🟢200Success
application/json
Body
Example
[{"id":198,"token":"MTE2OTc1Nzg5NjEwNDQ4NDkxOA.GRXmdc.YD02mkT1NkOGeDTJa8CT98m5QaC41EERSDFAS","channelId":"1169758569336333381","serverId":"1169758569336478123","isActive":true,"status":"FAST","info":{"jobMode":"","runningJobs":"None","relaxedUsage":"0 images","subscription":"Basic (Active monthly, renews next on <t:1709417882>)","lifetimeUsage":"674 images","queuedJobsFast":"0","visibilityMode":"Public","queuedJobsRelax":"0","fastTimeRemaining":"199.00/200.0 minutes (99.50%)"},"concurrency":2}]