Openprovider AuthCode API

The AuthCode API from Openprovider — 2 operation(s) for authcode.

Operations 2

GET /v1beta/domains/{id}/authcode Get auth code #
POST /v1beta/domains/{id}/authcode/reset Reset auth code #

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/openprovider-authcode-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

openprovider-authcode-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: REST AdditionalData Auth Code API
  version: 1.0.0-beta
servers:
- url: https://api.openprovider.eu
security:
- Bearer: []
tags:
- name: AuthCode
paths:
  /v1beta/domains/{id}/authcode:
    get:
      tags:
      - AuthCode
      summary: Get auth code
      operationId: GetAuthCode
      parameters:
      - description: Domain id number
        name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - description: Domain name without extension.
        name: domain.name
        in: query
        schema:
          type: string
      - description: Domain extension.
        name: domain.extension
        in: query
        schema:
          type: string
      - description: Type of transfer authorization code. external (default) or internal (for internal transfers between reseller accounts in Openprovider only).
        name: auth_code_type
        in: query
        schema:
          type: string
      - description: 'Indicates how authcode should be provisioned to domain owner. For ru / xn--p1ai domains only. Possible values: sms, email letter.'
        name: sending_type
        in: query
        schema:
          type: string
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/authcodeGetAuthCodeResponse'
        default:
          description: (empty)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorError'
  /v1beta/domains/{id}/authcode/reset:
    post:
      tags:
      - AuthCode
      summary: Reset auth code
      operationId: ResetAuthCode
      parameters:
      - description: Domain id number
        name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/authcodeResetAuthCodeResponse'
        default:
          description: (empty)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/authcodeResetAuthCodeRequest'
        required: true
components:
  schemas:
    domainDomain:
      type: object
      title: Domain
      properties:
        extension:
          type: string
          title: Domain extension
        name:
          type: string
          title: Domain name without extension
      example:
        extension: london
        name: test4
    authcodeResetAuthCodeResponseData:
      type: object
      title: ResetAuthCodeResponseData
      properties:
        auth_code:
          type: string
          title: Authorization code
        auth_info:
          title: The auth info
          $ref: '#/components/schemas/authcodeAuthInfo'
        domain_roid:
          type: string
          title: The domain roid
        epp_statuses:
          type: array
          title: Array of EPP statuses
          items:
            type: string
        rgp_statuses:
          title: The rgp statuses
          $ref: '#/components/schemas/authcodeRgpStatuses'
        success:
          type: boolean
          format: boolean
          title: Indicates if operation is successful
        type:
          type: string
          title: Authorization code type
      example:
        auth_code: '12345678'
        auth_info:
          pw: cyF2A7jPp+T#?5j*-G82
        domain_roid: ''
        epp_statuses:
        - ''
        rgp_statuses:
          add_period: '2019-05-23 12:05:48'
          auto_renew_period: '2019-05-23 12:05:48'
        success: false
        type: internal
    authcodeResetAuthCodeRequest:
      type: object
      title: ResetAuthCodeRequest
      properties:
        auth_code_type:
          type: string
          title: Type of transfer authorization code. external (default) or internal (for internal transfers between reseller accounts in Openprovider only)
        domain:
          title: Domain name and extension
          $ref: '#/components/schemas/domainDomain'
        id:
          type: integer
          format: int32
          title: Domain id number
        sending_type:
          type: string
          title: 'Indicates how authcode should be provisioned to domain owner. For ru / xn--p1ai domains only. Possible values: sms, email letter'
      example:
        auth_code_type: internal
        domain:
          extension: london
          name: test4
        id: 0
        sending_type: ''
    authcodeGetAuthCodeResponseData:
      type: object
      title: GetAuthCodeResponseData
      properties:
        auth_code:
          type: string
          title: Authorization code
        success:
          type: boolean
          format: boolean
          title: Indicates if operation is successful
        type:
          type: string
          title: Authorization code type
      example:
        auth_code: '12345678'
        success: false
        type: external
    authcodeResetAuthCodeResponse:
      type: object
      title: ResetAuthCodeResponse
      properties:
        code:
          type: integer
          format: int32
          title: Response code
        data:
          title: Response data
          $ref: '#/components/schemas/authcodeResetAuthCodeResponseData'
        desc:
          type: string
          title: Response description
        maintenance:
          type: boolean
          format: boolean
          title: Indicates that the Openprovider system is temporarily unavailable because of maintenance
        warnings:
          type: array
          title: Contains warning responses if any
          items:
            $ref: '#/components/schemas/errorWarning'
      example:
        code: 0
        data:
          auth_code: '12345678'
          auth_info:
            pw: cyF2A7jPp+T#?5j*-G82
          domain_roid: ''
          epp_statuses:
          - ''
          rgp_statuses:
            add_period: '2019-05-23 12:05:48'
            auto_renew_period: '2019-05-23 12:05:48'
          success: false
          type: internal
        desc: ''
    authcodeGetAuthCodeResponse:
      type: object
      title: GetAuthCodeResponse
      properties:
        code:
          type: integer
          format: int32
          title: Response code
        data:
          title: Response data
          $ref: '#/components/schemas/authcodeGetAuthCodeResponseData'
        desc:
          type: string
          title: Response description
        maintenance:
          type: boolean
          format: boolean
          title: Indicates that the Openprovider system is temporarily unavailable because of maintenance
        warnings:
          type: array
          title: Contains warning responses if any
          items:
            $ref: '#/components/schemas/errorWarning'
      example:
        code: 0
        data:
          auth_code: '12345678'
          success: false
          type: external
        desc: ''
    authcodeAuthInfo:
      type: object
      title: AuthInfo
      properties:
        pw:
          type: string
          title: The pw
      example:
        pw: cyF2A7jPp+T#?5j*-G82
    errorError:
      type: object
      title: Error
      properties:
        code:
          type: integer
          format: int32
          title: Error code
        data:
          type: string
          title: Additional error description
        desc:
          type: string
          title: Error description
      example:
        code: 0
        data: ''
        desc: ''
    authcodeRgpStatuses:
      type: object
      title: RgpStatuses
      properties:
        add_period:
          type: string
          title: The add period
        auto_renew_period:
          type: string
          title: The auto renew period
      example:
        add_period: '2019-05-23 12:05:48'
        auto_renew_period: '2019-05-23 12:05:48'
    errorWarning:
      type: object
      title: Warning
      properties:
        code:
          type: integer
          format: int32
          title: Warning code
        data:
          type: string
          title: Additional warning description
        desc:
          type: string
          title: Warning description
      example:
        code: 0
        data: ''
        desc: ''
  securitySchemes:
    Bearer:
      type: apiKey
      name: Authorization
      in: header
      x-linkTo: tag/descAuthentication
x-tagGroups:
- name: Introduction
  tags:
  - descAbout
  - descGettingStarted
  - descEndpoints
  - descAuthentication
- name: Quick Start
  tags:
  - descCustomerQuickstart
  - descDomainQuickstart
  - descTLDQuickstart
  - descDNSQuickstart
  - descSSLQuickstart
- name: Auth
  tags:
  - Auth
  - SpamExpert
- name: Billing
  tags:
  - InvoiceService
  - Payment
  - Transaction
- name: DNS
  tags:
  - DomainToken
  - NameserverService
  - NsGroupService
  - TemplateService
  - ZoneService
  - ZoneRecordService
- name: Domain
  tags:
  - DomainService
  - AdditionalData
  - CustomerAdditionalData
  - DomainPriceService
  - AuthCode
  - TldService
- name: EasyDmarc
  tags:
  - EasydmarcOrder
- name: Email template
  tags:
  - Email
- name: License
  tags:
  - LicenseService
- name: Reseller/Customer
  tags:
  - ContactService
  - Customer
  - EmailVerification
  - ResellerService
  - Settings
  - Statistics
  - TagService
- name: Spam Experts
  tags:
  - SEDomain
- name: SSL
  tags:
  - ApproverEmail
  - Csr
  - Order
  - OrderApproverEmail
  - OtpToken
  - Product