useapi.net Account API

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

Operations 7

GET /account
POST /account
GET /account/midjourney
GET /account/midjourney/{channel}
DELETE /account/midjourney/{channel}
POST /account/midjourney/{channel}
POST /account/midjourney/{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 email required.

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: Useapi Account API
  version: '1.0'
  description: 'Operations tagged Account across 2 of this provider''s published API definitions: useapi-midjourney-v1-openapi.yml, useapi-midjourney-v2-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.useapi.net/v1
- 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/responseError'
      tags:
      - Account
    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_2'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountResponse_2'
      tags:
      - Account
    servers:
    - url: https://api.useapi.net/v1
  /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
    servers:
    - url: https://api.useapi.net/v2
  /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
    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
    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_2'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountResponse_2'
      tags:
      - Account
    servers:
    - url: https://api.useapi.net/v2
  /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_2'
        '404':
          description: Configuration not found for provided channel
      tags:
      - Account
    servers:
    - url: https://api.useapi.net/v2
components:
  schemas:
    responseError:
      type: object
      properties:
        error:
          type: string
        code:
          type: integer
          enum:
          - 400
          - 401
          - 404
          - 412
          - 413
      additionalProperties: false
      required:
      - error
      - code
    accountResponse:
      type: object
      properties:
        email:
          type: string
        created:
          type: string
        name:
          type: string
        verified:
          type: string
        sub:
          type: string
      additionalProperties: false
      required:
      - email
      - created
      - name
      - verified
      - sub
    accountResponse_2:
      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
    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
  securitySchemes:
    apiToken:
      type: http
      scheme: bearer
      description: API Token
x-refined-from:
- useapi-midjourney-v1-openapi.yml
- useapi-midjourney-v2-openapi.yml