APIMatic SDK Generation API

Generate SDKs from an API definition uploaded as a file or given by URL, list, fetch, download and delete code generations, and run asynchronous SDK generation from a build input — 10 operations, read from the reference data APIMatic serves for its own Platform API portal.

Operations 7

POST /code-generations/generate-via-file Generate SDK via File #
POST /code-generations/generate-via-url Generate SDK via URL #
GET /code-generations/{codegen_id}/generated-sdk Download SDK #
GET /code-generations List All Code Generations #
GET /code-generations/{codegen_id}/input-file Download Input File #
GET /code-generations/{codegen_id} Get a Code Generation #
DELETE /code-generations/{codegen_id} Delete Code Generation for External APIs #

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/apimatic-sdk-generation-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

apimatic-sdk-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: APIMatic Generation SDK API
  version: 1.0.0
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-09-23: 10 operation(s) converted deterministically (no model) from the structured reference data APIMatic serves for its own Platform API portal (https://docs.apimatic.io/platform-api/static/docs/apimatic-api-HTTP_CURL_V1.json, loaded by https://docs.apimatic.io/platform-api/). Paths, methods, parameters, responses and schemas are copied from that JSON; each operation names its portal section in x-docs-title. This is not a contract APIMatic publishes: the portal''s API-spec export is disabled (enableExport: false) and no OpenAPI for the Platform API was found on its hosts or in its GitHub organization.'
  contact:
    url: https://www.apimatic.io/contact
  termsOfService: https://www.apimatic.io/terms
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-09-23'
  x-generator: portal-reference-json (deterministic)
  x-engine: none
  x-sources:
  - https://docs.apimatic.io/platform-api/static/docs/apimatic-api-HTTP_CURL_V1.json
  - https://docs.apimatic.io/platform-api/
servers:
- url: https://api.apimatic.io
  description: 'production (portal ServerConfiguration: default)'
security:
- Authorization: []
tags:
- name: SDK
paths:
  /code-generations/generate-via-file:
    post:
      operationId: generateSdkViaFile
      summary: Generate SDK via File
      description: "Generate an SDK for an API by by uploading the API specification file. \n\nThis endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for the generation performed is returned as part of the response.\n\nThis endpoint does not import an API into APIMatic."
      tags:
      - SDK
      parameters:
      - name: Accept
        in: header
        required: true
        description: Must be set to 'application/json' to ensure JSON response format
        schema:
          type: string
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
                  description: The API specification file.<br>The type of the specification file should be any of the [supported formats](https://docs.apimatic.io/api-transformer/overview-transformer#supported-input-formats).
                template:
                  $ref: '#/components/schemas/Platforms'
                  description: The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in.
              required:
              - file
              - template
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserCodeGeneration'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponseSDK'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedResponse'
        '403':
          description: Subscription Issue
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      security:
      - Authorization: []
      x-source: https://docs.apimatic.io/platform-api/static/docs/apimatic-api-HTTP_CURL_V1.json
      x-docs-title: API Endpoints > SDK > Generate SDK via File > Generate SDK via File
      x-evidence:
        kind: documentation
  /code-generations/generate-via-url:
    post:
      operationId: generateSdkViaUrl
      summary: Generate SDK via URL
      description: "Generate an SDK for an API by providing the URL of the API specification file. \n\nThis endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for the generation performed is returned as part of the response.\n\nThis endpoint does not import an API into APIMatic."
      tags:
      - SDK
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateSdkViaUrlRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserCodeGeneration'
      security:
      - Authorization: []
      x-source: https://docs.apimatic.io/platform-api/static/docs/apimatic-api-HTTP_CURL_V1.json
      x-docs-title: API Endpoints > SDK > Generate SDK via URL > Generate SDK via URL
      x-evidence:
        kind: documentation
  /code-generations/{codegen_id}/generated-sdk:
    get:
      operationId: downloadSdk
      summary: Download SDK
      description: Download the SDK generated via the Generate SDK endpoints.
      tags:
      - SDK
      parameters:
      - name: codegen_id
        in: path
        required: true
        description: The ID of code generation received in the response of the [Generate SDK Via File]($e/Code%20Generation%20-%20External%20APIs/Generate%20SDK%20via%20File) or [Generate SDK Via URL ]($e/Code%20Generation%20-%20External%20APIs/Generate%20SDK%20via%20URL) calls.
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
      security:
      - Authorization: []
      x-source: https://docs.apimatic.io/platform-api/static/docs/apimatic-api-HTTP_CURL_V1.json
      x-docs-title: API Endpoints > SDK > Download SDK > Download SDK
      x-evidence:
        kind: documentation
  /code-generations:
    get:
      operationId: listAllCodeGenerations
      summary: List All Code Generations
      description: Get a list of all SDK generations performed with external APIs via the Generate SDK endpoints.
      tags:
      - SDK
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserCodeGeneration'
      security:
      - Authorization: []
      x-source: https://docs.apimatic.io/platform-api/static/docs/apimatic-api-HTTP_CURL_V1.json
      x-docs-title: API Endpoints > SDK > List All Code Generations > List All Code Generations
      x-evidence:
        kind: documentation
  /code-generations/{codegen_id}/input-file:
    get:
      operationId: downloadInputFile
      summary: Download Input File
      description: Download the API Specification file used as input for a specific SDK generation performed via the Generate SDK endpoints.
      tags:
      - SDK
      parameters:
      - name: codegen_id
        in: path
        required: true
        description: The ID of the code generation to download the API specification for. The code generation ID is received in the response of the [Generate SDK Via File]($e/Code%20Generation%20-%20External%20APIs/Generate%20SDK%20via%20File) or [Generate SDK Via URL ]($e/Code%20Generation%20-%20External%20APIs/Generate%20SDK%20via%20URL) calls
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
      security:
      - Authorization: []
      x-source: https://docs.apimatic.io/platform-api/static/docs/apimatic-api-HTTP_CURL_V1.json
      x-docs-title: API Endpoints > SDK > Download Input File > Download Input File
      x-evidence:
        kind: documentation
  /code-generations/{codegen_id}:
    get:
      operationId: getACodeGeneration
      summary: Get a Code Generation
      description: Get details on an SDK generation performed for an external API via the Generate SDK endpoints.
      tags:
      - SDK
      parameters:
      - name: codegen_id
        in: path
        required: true
        description: The ID of the code generation to fetch. The code generation ID is received in the response of the [Generate SDK Via File]($e/Code%20Generation%20-%20External%20APIs/Generate%20SDK%20via%20File) or [Generate SDK Via URL ]($e/Code%20Generation%20-%20External%20APIs/Generate%20SDK%20via%20URL) calls.
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserCodeGeneration'
      security:
      - Authorization: []
      x-source: https://docs.apimatic.io/platform-api/static/docs/apimatic-api-HTTP_CURL_V1.json
      x-docs-title: API Endpoints > SDK > Get a Code Generation > Get a Code Generation
      x-evidence:
        kind: documentation
    delete:
      operationId: deleteCodeGenerationForExternalApis
      summary: Delete Code Generation for External APIs
      description: Delete an SDK generation performed for an API via the Generate SDK endpoints.
      tags:
      - SDK
      parameters:
      - name: codegen_id
        in: path
        required: true
        description: The ID of the code generation to delete. The code generation ID is received in the response of the [Generate SDK Via File]($e/Code%20Generation%20-%20External%20APIs/Generate%20SDK%20via%20File) or [Generate SDK Via URL ]($e/Code%20Generation%20-%20External%20APIs/Generate%20SDK%20via%20URL) calls.
        schema:
          type: string
      responses:
        '200':
          description: Success
      security:
      - Authorization: []
      x-source: https://docs.apimatic.io/platform-api/static/docs/apimatic-api-HTTP_CURL_V1.json
      x-docs-title: API Endpoints > SDK > Delete Code Generation for External APIs > Delete Code Generation for External APIs
      x-evidence:
        kind: documentation
components:
  schemas:
    ProblemDetails:
      title: ProblemDetails
      type: object
      additionalProperties:
        type: object
      properties:
        type:
          example: https://tools.ietf.org/html/rfc7231#section-6.5.1
          type: string
        title:
          example: One or more validation errors occurred.
          type: string
        status:
          example: 400
          type: integer
          format: int32
        detail:
          example: One or more validation failures have occurred
          type: string
        instance:
          example: /api/portal
          type: string
        errors:
          example:
            ? ''
            : - Build file not found
          type: object
          additionalProperties:
            type: object
    UnauthorizedResponse:
      title: UnauthorizedResponse
      type: object
      additionalProperties:
        type: object
      properties:
        message:
          example: Authorization has been denied for this request.
          type: string
    GenerateSdkViaUrlRequest:
      title: GenerateSdkViaUrlRequest
      type: object
      additionalProperties:
        type: object
      properties:
        url:
          description: The URL for the API specification file.<br><br>**Note:** This URL should be publicly accessible.
          example: http://petstore.swagger.io/v2/swagger.json
          type: string
        template:
          $ref: '#/components/schemas/Platforms'
      required:
      - url
      - template
    UserCodeGeneration:
      title: UserCodeGeneration
      description: The Code Generation structure encapsulates all the  the details of an SDK generation performed by a user.
      type: object
      additionalProperties:
        type: object
      properties:
        id:
          description: Unique Code Generation Identifier
          example: 5be08b2d83b41d0d8cdb3289
          type: string
        template:
          $ref: '#/components/schemas/Platforms'
        generatedFile:
          description: The generated SDK
          example: https://api.apimatic.io/code-generations/5be08b2d83b41d0d8cdb3289/generated-sdk
          type: string
        generatedOn:
          description: Generation Date and Time
          example: '2018-11-05T18:25:46Z'
          type: string
          format: date-time
        hashCode:
          description: The md5 hash of the API Description
          example: 77BDA4F625EF512B336D0A77CE2BB2B6
          type: string
        codeGenerationSource:
          description: Generation Source
          example: Api
          type: string
        codeGenVersion:
          description: Generation Version
          example: '1'
          type: string
        success:
          description: Generation Status
          example: true
          type: boolean
        userId:
          description: Unique User Identifier
          example: 5afc60380b9949253c6b7776
          type: string
        inputFile:
          description: API Specification file in a supported format
          example: https://api.apimatic.io/code-generations/5be08d7b83b41d0d8cdb3958/input-file
          type: string
      required:
      - id
      - template
      - generatedFile
      - generatedOn
      - hashCode
      - codeGenerationSource
      - codeGenVersion
      - success
      - userId
      - inputFile
    BadRequestResponseSDK:
      title: BadRequestResponseSDK
      description: Standard JSON error response for bad requests
      example:
        message: Bad Request
      type: object
      additionalProperties:
        type: object
      properties:
        message:
          description: Error message describing the bad request
          example: Bad Request
          type: string
    Platforms:
      title: Platforms
      description: The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in.
      example: CS_NET_STANDARD_LIB
      x-enum-elements:
      - name: CS_NET_STANDARD_LIB
        description: .NET Standard Library
      - name: JAVA_ECLIPSE_JRE_LIB
        description: JAVA
      - name: PHP_GENERIC_LIB_V2
        description: PHP
      - name: PYTHON_GENERIC_LIB
        description: Python
      - name: RUBY_GENERIC_LIB
        description: Ruby
      - name: TS_GENERIC_LIB
        description: Typescript
      - name: GO_GENERIC_LIB
        description: Go
      type: string
      additionalProperties: false
      enum:
      - CS_NET_STANDARD_LIB
      - JAVA_ECLIPSE_JRE_LIB
      - PHP_GENERIC_LIB_V2
      - PYTHON_GENERIC_LIB
      - RUBY_GENERIC_LIB
      - TS_GENERIC_LIB
      - GO_GENERIC_LIB
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: Authorization
      description: 'Auth Header. Replace {x-auth-key} with your Auth Key. Header value form: `X-Auth-Key {x-auth-key}`.'
      x-source: https://docs.apimatic.io/platform-api/static/docs/apimatic-api-HTTP_CURL_V1.json