Get Channel Configuration

October 27, 2025

Table of contents

  1. Request Headers
  2. Path Parameters
  3. Responses
  4. Model
  5. Examples
  6. Try It

Get configuration details for a specific Midjourney channel.

https://api.useapi.net/v3/midjourney/accounts/channel

Request Headers

Authorization: Bearer {API token}

Path Parameters

  • channel is required. The Discord channel ID to query.

Responses

  • 200 OK

    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 error field, it requires attention:

    • Use POST /accounts/reset to clear the error
    • Check your Discord account for moderation messages or CAPTCHA challenges
  • 401 Unauthorized

    Invalid API token.

    {
      "error": "Unauthorized"
    }
    
  • 404 Not Found

    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())
    

Try It