Get Channel Configuration
October 27, 2025
Table of contents
Get configuration details for a specific Midjourney channel.
https://api.useapi.net/v3/midjourney/accounts/
channel
Request Headers
Authorization: Bearer {API token}
API tokenis required, see Setup useapi.net for details.
Path Parameters
channelis required. The Discord channel ID to query.
Responses
-
Channel configuration found and returned.
{ "discord": "MTI...xyz", "channel": "1234567890123456789", "maxJobs": 3, "maxImageJobs": 3, "maxVideoJobs": 3, "replyUrl": "https://your-server.com/webhook" }Note: Discord tokens are redacted for security (first 3 and last 3 characters shown).
If a channel has an
errorfield, it requires attention:- Use POST /accounts/reset to clear the error
- Check your Discord account for moderation messages or CAPTCHA challenges
-
Invalid API token.
{ "error": "Unauthorized" } -
Channel not found or not configured.
No Content (empty response body)
Model
{
discord: string // Discord token (redacted)
channel: string // Discord channel ID
maxJobs: number // Max total concurrent jobs
maxImageJobs: number // Max concurrent image jobs
maxVideoJobs: number // Max concurrent video jobs
replyUrl?: string // Webhook URL for callbacks
error?: string // Error message (if channel has issues)
}
Examples
-
curl -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://api.useapi.net/v3/midjourney/accounts/1234567890123456789" -
const token = 'YOUR_API_TOKEN'; const channelId = '1234567890123456789'; const response = await fetch(`https://api.useapi.net/v3/midjourney/accounts/${channelId}`, { headers: { 'Authorization': `Bearer ${token}` } }); const channelConfig = await response.json(); console.log('Channel config:', channelConfig); -
import requests token = 'YOUR_API_TOKEN' channel_id = '1234567890123456789' headers = {'Authorization': f'Bearer {token}'} response = requests.get( f'https://api.useapi.net/v3/midjourney/accounts/{channel_id}', headers=headers ) print('Channel config:', response.json())