Documentation
Resume

Queue Pause

POST
https://api.mymidjourney.ai/api/v1/discord/queue/resume/{id}

The API only works for user with Pro or Dedicated plan, and linked their Discord account (opens in a new tab).

The API will resume our system queue that assigned to the connected Discord account from the pause state.

GET /api/v1/discord/queue/resume/{id}

Request Param

NameLocationTypeRequiredDescription
idpathstringtruethe token id of the specified Discord account

id

The Discord token id can grab from this API.

Response data

You get no response body but a 200 status code if successful.

Examples

const axios = require("axios")
 
const config = {
  method: "post",
  url: "https://api.mymidjourney.ai/api/v1/discord/queue/resume/128",
  headers: {
    "Content-Type": "application/json",
    Authorization: "Bearer <your-token>",
  },
}
 
axios(config)
  .then(function (response) {
    console.log(JSON.stringify(response.data))
  })
  .catch(function (error) {
    console.log(error)
  })