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 ********************
Path Params
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 'https://api.imaginepro.ai/api/v1/discord/token/' \
--header'Authorization: Bearer <token>'
Responses
🟢200Success
application/json
Body
Example
[{"id":1900,"token":"XXX","channelId":"116975856xxx","serverId":"116975856xxx","isActive":true,"status":"FAST","info":{"jobMode":"","runningJobs":"None","relaxedUsage":"999 images","subscription":"Basic (Active monthly, renews next on <t:2123>)","lifetimeUsage":"999 images","queuedJobsFast":"0","visibilityMode":"Public","queuedJobsRelax":"0","fastTimeRemaining":"199.00/200.0 minutes (99.50%)"},"concurrency":2}]