useapi.net Account API

The Account API from useapi.net — 4 operation(s) for account.

Operations 7

GET /account Get account #
POST /account Create account #
GET /account/midjourney Get account midjourney #
GET /account/midjourney/{channel} Get account midjourney by channel #
DELETE /account/midjourney/{channel} Delete account midjourney by channel #
POST /account/midjourney/{channel} Create account midjourney by channel #
POST /account/midjourney/{channel}/reset Create account midjourney by channel reset #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/useapi-account-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

useapi-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Midjourney REST API v2 by useapi.net Account API
  description: Simple, reliable and affordable way to use Midjourney via standard REST API
  version: '1.0'
servers:
- url: https://api.useapi.net/v2
security:
- apiToken: []
tags:
- name: Account
paths:
  /account:
    get:
      description: Retrieve account information
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountResponse'
      tags:
      - Account
      summary: Get account
      x-summary-source: derived
      operationId: getAccount
      x-operation-id-source: derived
    post:
      description: Update account information
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  description: User name
                  type: string
                replyUrl:
                  description: Default callback URL, API will call the provided replyUrl once generation completed to be used for all API endpoints
                  type: string
      responses:
        '204':
          description: No Content
        '400':
          description: replyUrl is too long
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountResponse'
      tags:
      - Account
      summary: Create account
      x-summary-source: derived
      operationId: postAccount
      x-operation-id-source: derived
  /account/midjourney:
    get:
      description: Retrieve Midjourney accounts information, see https://useapi.net/docs/api-v2/get-account-midjourney
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/midjourneyResponse'
      tags:
      - Account
      summary: Get account midjourney
      x-summary-source: derived
      operationId: getAccountMidjourney
      x-operation-id-source: derived
  /account/midjourney/{channel}:
    get:
      description: Retrieve Midjourney account information for specified channel
      parameters:
      - in: path
        name: channel
        schema:
          type: string
        required: true
        description: Midjourney channel id
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/midjourneyResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/midjourneyResponse'
        '404':
          description: Configuration not found for provided channel
      tags:
      - Account
      summary: Get account midjourney by channel
      x-summary-source: derived
      operationId: getAccountMidjourneyByChannel
      x-operation-id-source: derived
    delete:
      description: Delete Midjourney account information for specified channel
      parameters:
      - in: path
        name: channel
        schema:
          type: string
        required: true
        description: Midjourney channel id
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/midjourneyResponse'
        '404':
          description: Configuration not found for provided channel
      tags:
      - Account
      summary: Delete account midjourney by channel
      x-summary-source: derived
      operationId: deleteAccountMidjourneyByChannel
      x-operation-id-source: derived
    post:
      description: Create or update Midjourney account information for specified channel
      parameters:
      - in: path
        name: channel
        schema:
          type: string
        required: true
        description: Midjourney channel id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                discord:
                  description: Discord token
                  type: string
                server:
                  description: Discord server id
                  type: string
                channel:
                  description: Discord channel id
                  type: string
                maxJobs:
                  description: Maximum Concurrent Jobs
                  type: integer
                  minimum: 1
                  maximum: 15
              required:
              - discord
              - server
              - channel
              - maxJobs
      responses:
        '204':
          description: No Content
        '400':
          description: One of the required params is missing, has an incorrect value, or is duplicated across another account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountResponse'
      tags:
      - Account
      summary: Create account midjourney by channel
      x-summary-source: derived
      operationId: postAccountMidjourneyByChannel
      x-operation-id-source: derived
  /account/midjourney/{channel}/reset:
    post:
      description: Reset the pendingModMessage field for the Midjourney account specified by the channel
      parameters:
      - in: path
        name: channel
        schema:
          type: string
        required: true
        description: Midjourney channel id
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountResponse'
        '404':
          description: Configuration not found for provided channel
      tags:
      - Account
      summary: Create account midjourney by channel reset
      x-summary-source: derived
      operationId: postAccountMidjourneyByChannelReset
      x-operation-id-source: derived
components:
  schemas:
    midjourneyResponse:
      type: object
      properties:
        discord:
          type: string
        channel:
          type: string
        server:
          type: string
        maxJobs:
          type: integer
        pendingModMessage:
          description: Your Discord account has received a pending moderation message from Midjourney. Please address this issue and reset pendingModMessage before making any new API calls
          type: string
        error:
          type: string
        errorDetails:
          type: string
        code:
          type: integer
    accountResponse:
      type: object
      properties:
        email:
          type: string
        created:
          description: YYYY-MM-DDTHH:mm:ss.sssZ, IS0 8601, UTC
          type: string
        name:
          type: string
        verified:
          description: YYYY-MM-DDTHH:mm:ss.sssZ, IS0 8601, UTC
          type: string
        sub:
          type: string
        replyUrl:
          type: string
        error:
          type: string
        errorDetails:
          type: string
        code:
          type: integer
  securitySchemes:
    apiToken:
      type: http
      scheme: bearer
      description: API Token