Wavix 2 FA API

Two-factor authentication

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

POST /v1/two-fa/verification Create a 2FA Verification #
GET /v1/two-fa/service/{service_id}/sessions List 2FA verifications #
POST /v1/two-fa/verification/{session_id} Resend a code #
POST /v1/two-fa/verification/{session_id}/check Validate a code #
PATCH /v1/two-fa/verification/{session_id}/cancel Cancel a 2FA verification #
GET /v1/two-fa/session/{session_id}/events List 2FA verification events #

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/wavix-com:wavix-com-2-fa-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

wavix-com-2-fa-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Wavix 2 FA API
  description: Wavix provides robust APIs that let you integrate voice and text messaging features directly into your app. Send text, place calls, and access detailed reports programmatically.
  termsOfService: https://wavix.com/terms-and-conditions
  license:
    name: MIT
    identifier: MIT
  contact:
    name: Wavix
    url: https://wavix.com
    email: support@wavix.com
  version: 3.2.0
servers:
- url: https://api.wavix.com
  description: https://api.wavix.com
  variables: {}
security:
- bearerAuth: []
tags:
- name: 2 FA
  description: Two-factor authentication
paths:
  /v1/two-fa/verification:
    post:
      tags:
      - 2 FA
      summary: Create a 2FA Verification
      description: 'Creates a 2FA verification and sends a real one-time password (OTP) to the destination phone number over the selected channel; this bills the account per OTP sent. Requires a 2FA service configured in the Wavix portal; the service is reused to generate and validate OTPs.


        The verification proceeds through three steps:

        1. Create a verification to generate and send an OTP.

        2. Resend the OTP on the same verification if needed.

        3. Validate the OTP through the check endpoint.'
      operationId: two_fa_verification_create
      security:
      - bearerAuth:
        - two_fa:write
      x-fern-sdk-group-name:
      - twoFa
      - verification
      x-fern-sdk-method-name: create
      x-mcp:
        readOnly: false
        destructive: true
        openWorld: true
        expose: true
        billable: true
        toolset: verification
      parameters: []
      requestBody:
        description: Attributes for the new 2FA verification.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TwoFactorVerificationCreateRequest'
        required: true
      responses:
        '200':
          description: Returns the created 2FA verification.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TwoFactorVerificationResponse'
              examples:
                success:
                  summary: Successful response
                  value:
                    success: true
                    service_id: 7204a030201211ee9fb47d093f2f127c
                    session_url: https://api.wavix.com/v1/two-fa/verification/2953d4308f2e11ecb75fcdafd6d2d687
                    session_id: 2953d4308f2e11ecb75fcdafd6d2d687
                    destination: '447919433768'
                    created_at: '2022-02-16T13:41:38.000Z'
                    number_lookup:
                      number_type: mobile
                      country: GB
                      current_carrier: Vodafone
        '400':
          $ref: '#/components/responses/BadRequestErrorResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          $ref: '#/components/responses/NotFoundErrorResponse'
        '422':
          $ref: '#/components/responses/ValidationErrorResponse'
      deprecated: false
  /v1/two-fa/service/{service_id}/sessions:
    get:
      tags:
      - 2 FA
      summary: List 2FA verifications
      description: Returns the 2FA verifications for the service identified by `service_id`, within the requested date range.
      operationId: two_fa_sessions_list
      security:
      - bearerAuth:
        - two_fa:read
      x-fern-sdk-group-name:
      - twoFa
      - sessions
      x-fern-sdk-method-name: list
      x-mcp:
        readOnly: true
        destructive: false
        openWorld: false
        expose: true
        toolset: verification
      parameters:
      - name: service_id
        in: path
        description: The unique ID of the 2FA service.
        required: true
        style: simple
        schema:
          type: string
          example: 7204a030201211ee9fb47d093f2f127c
      - name: from
        in: query
        description: Start of the date range to query, in `YYYY-MM-DD` format. Inclusive.
        required: true
        style: form
        explode: true
        schema:
          type: string
          format: date
          example: '2022-01-01'
      - name: to
        in: query
        description: End of the date range to query, in `YYYY-MM-DD` format. Inclusive.
        required: true
        style: form
        explode: true
        schema:
          type: string
          format: date
          example: '2022-01-31'
      responses:
        '200':
          description: Returns the list of 2FA verifications.
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ListSessionsResponseItem'
                example:
                - created_at: '2022-02-16T13:41:38.000Z'
                  session_id: 2953d4308f2e11ecb75fcdafd6d2d687
                  phone_number: '447919433768'
                  destination_country: GB
                  status: verified
                  charge: '0.01'
                  service_id: 7204a030201211ee9fb47d093f2f127c
                  service_name: Wavix 2FA Service
                - created_at: '2022-02-16T13:41:38.000Z'
                  session_id: 8753d4308f2e11ecb75fcdafd6d2d690
                  phone_number: '447919433768'
                  destination_country: GB
                  status: pending
                  charge: '0.01'
                  service_id: 7204a030201211ee9fb47d093f2f127c
                  service_name: Wavix 2FA Service
              examples:
                success:
                  summary: Successful response
                  value:
                  - created_at: '2022-02-16T13:41:38.000Z'
                    session_id: 2953d4308f2e11ecb75fcdafd6d2d687
                    phone_number: '447919433768'
                    destination_country: GB
                    status: verified
                    charge: '0.01'
                    service_id: 7204a030201211ee9fb47d093f2f127c
                    service_name: Wavix 2FA Service
                  - created_at: '2022-02-16T13:41:38.000Z'
                    session_id: 8753d4308f2e11ecb75fcdafd6d2d690
                    phone_number: '447919433768'
                    destination_country: GB
                    status: pending
                    charge: '0.01'
                    service_id: 7204a030201211ee9fb47d093f2f127c
                    service_name: Wavix 2FA Service
        '400':
          description: Returns a validation error when a required field is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
              examples:
                default:
                  value:
                    success: false
                    message: 'Request validation errors: Field "to" is required'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          description: Returns when no verifications match the service and date range.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
              examples:
                default:
                  value:
                    success: false
                    message: Sessions not found
      deprecated: false
  /v1/two-fa/verification/{session_id}:
    post:
      tags:
      - 2 FA
      summary: Resend a code
      description: Resends the OTP for the verification identified by `session_id` over the specified channel. Previously sent codes are invalidated. Each code sent is charged to the account balance.
      operationId: two_fa_verification_resend
      security:
      - bearerAuth:
        - two_fa:write
      x-fern-sdk-group-name:
      - twoFa
      - verification
      x-fern-sdk-method-name: resend
      x-mcp:
        readOnly: false
        destructive: true
        openWorld: true
        expose: true
        billable: true
        toolset: verification
      parameters:
      - name: session_id
        in: path
        description: The unique ID of the 2FA verification session.
        required: true
        style: simple
        schema:
          type: string
          example: 2953d4308f2e11ecb75fcdafd6d2d687
      requestBody:
        description: Channel to resend the OTP over.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TwoFactorVerificationResendRequest'
        required: true
      responses:
        '200':
          description: Returns the resend result, including the channel used.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TwoFactorVerificationResendResponse'
              examples:
                success:
                  summary: Successful response
                  value:
                    success: true
                    channel: voice
                    destination: '447919433768'
                    created_at: '2022-02-16T13:41:38.000Z'
        '400':
          description: Returns a validation error when a required field is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
              examples:
                default:
                  value:
                    success: false
                    message: 'Request validation errors: Field "channel" is required'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          $ref: '#/components/responses/NotFoundErrorResponse'
        '422':
          $ref: '#/components/responses/ValidationErrorResponse'
      deprecated: false
  /v1/two-fa/verification/{session_id}/check:
    post:
      tags:
      - 2 FA
      summary: Validate a code
      description: Validates the OTP submitted by the end user against the verification identified by `session_id`. Non-idempotent — each call consumes one of a limited number of attempts tracked server-side; once exhausted, the verification returns `429` until a new verification is created.
      operationId: two_fa_verification_check
      security:
      - bearerAuth:
        - two_fa:write
      x-fern-sdk-group-name:
      - twoFa
      - verification
      x-fern-sdk-method-name: check
      x-mcp:
        readOnly: false
        destructive: true
        openWorld: false
        expose: true
        toolset: verification
      parameters:
      - name: session_id
        in: path
        description: The unique ID of the 2FA verification session.
        required: true
        style: simple
        schema:
          type: string
          example: 2953d4308f2e11ecb75fcdafd6d2d687
      requestBody:
        description: OTP to validate.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TwoFactorVerificationCheckRequest'
        required: true
      responses:
        '200':
          description: Returns the validation result in `is_valid`.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TwoFactorVerificationCheckResponse'
              examples:
                success:
                  summary: Successful response
                  value:
                    is_valid: true
        '400':
          description: Returns a validation error when a required field is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
              examples:
                default:
                  value:
                    success: false
                    message: 'Request validation errors: Field "code" is required'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          $ref: '#/components/responses/NotFoundErrorResponse'
        '429':
          $ref: '#/components/responses/TooManyRequestsErrorResponse'
      deprecated: false
  /v1/two-fa/verification/{session_id}/cancel:
    patch:
      tags:
      - 2 FA
      summary: Cancel a 2FA verification
      description: Cancels the 2FA verification identified by `session_id`. No further codes are sent, and previously sent codes can no longer be validated. A new verification is required to send another code.
      operationId: two_fa_verification_cancel
      security:
      - bearerAuth:
        - two_fa:write
      x-fern-sdk-group-name:
      - twoFa
      - verification
      x-fern-sdk-method-name: cancel
      x-mcp:
        readOnly: false
        destructive: true
        openWorld: false
        expose: true
        toolset: verification
      parameters:
      - name: session_id
        in: path
        description: The unique ID of the 2FA verification session.
        required: true
        style: simple
        schema:
          type: string
          example: 2953d4308f2e11ecb75fcdafd6d2d687
      responses:
        '200':
          description: Returns a success confirmation. The verification is canceled.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
              examples:
                success:
                  summary: Successful response
                  value:
                    success: true
        '400':
          description: Returns a validation error when a required field is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
              examples:
                default:
                  value:
                    success: false
                    message: 'Request validation errors: Field "code" is required'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          description: Returns when no verification matches `session_id`.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordNotFoundErrorResponse'
              examples:
                default:
                  value:
                    success: false
                    message: Two FA session is not canceled
      deprecated: false
  /v1/two-fa/session/{session_id}/events:
    get:
      tags:
      - 2 FA
      summary: List 2FA verification events
      description: Returns the lifecycle events of the 2FA verification identified by `session_id`, such as number lookup and code delivery.
      operationId: two_fa_events_list
      security:
      - bearerAuth:
        - two_fa:read
      x-fern-sdk-group-name:
      - twoFa
      - events
      x-fern-sdk-method-name: list
      x-mcp:
        readOnly: true
        destructive: false
        openWorld: false
        expose: true
        toolset: verification
      parameters:
      - name: session_id
        in: path
        description: The unique ID of the 2FA verification session.
        required: true
        style: simple
        schema:
          type: string
          example: 8753d4308f2e11ecb75fcdafd6d2d690
      responses:
        '200':
          description: Returns the list of 2FA verification events.
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TwoFactorVerificationEvent'
                example:
                - created_at: '2022-02-16T13:41:38.000Z'
                  event: Number lookup
                  status: success
                  charge: '0.005'
                  error: null
                - created_at: '2022-02-16T13:41:38.000Z'
                  event: Code sent via SMS
                  status: success
                  charge: '0.005'
                  error: null
              examples:
                default:
                  value:
                  - created_at: '2022-02-16T13:41:38.000Z'
                    event: Number lookup
                    status: success
                    charge: '0.005'
                    error: null
                  - created_at: '2022-02-16T13:41:38.000Z'
                    event: Code sent via SMS
                    status: success
                    charge: '0.005'
                    error: null
        '400':
          $ref: '#/components/responses/BadRequestErrorResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          description: Returns when no verification matches `session_id`.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordNotFoundErrorResponse'
              examples:
                default:
                  value:
                    success: false
                    message: 2FA verification session with ID=1c7d5259092eb11f083eed7e070f20a2b cannot be found
      deprecated: false
components:
  schemas:
    ValidationErrorResponse:
      title: ValidationErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable description naming the missing or invalid request parameter.
          example: Missing or invalid parameter <param_name>
    TwoFactorVerificationResendRequest:
      title: TwoFactorVerificationResendRequest
      required:
      - channel
      type: object
      additionalProperties: false
      properties:
        channel:
          type: string
          description: Channel used to resend the verification code. One of `sms` (sent as a text message) or `voice` (read aloud over a phone call).
          enum:
          - sms
          - voice
          example: voice
    TwoFactorVerificationCheckResponse:
      title: TwoFactorVerificationCheckResponse
      required:
      - is_valid
      type: object
      additionalProperties: false
      properties:
        is_valid:
          type: boolean
          description: Indicates whether the entered code is valid
          example: true
    ListSessionsResponseItem:
      type: object
      additionalProperties: false
      properties:
        created_at:
          type: string
          format: date-time
          description: Date and time the 2FA Verification was created in ISO 8601 format.
          example: '2022-02-16T13:41:38.000Z'
        session_id:
          type: string
          description: 2FA Verification ID.
          example: 2953d4308f2e11ecb75fcdafd6d2d687
        phone_number:
          type: string
          description: Destination phone number.
          example: '447919433768'
        destination_country:
          type: string
          description: Country code of the destination phone number in ISO 3166-1 alpha-2 format.
          example: GB
        status:
          type: string
          description: Status of the 2FA Verification.
          example: verified
        charge:
          type: string
          description: Charge for the 2FA Verification.
          example: '0.01'
        service_id:
          type: string
          description: 2FA Service ID.
          example: 7204a030201211ee9fb47d093f2f127c
        service_name:
          type: string
          description: 2FA Service name.
          example: Wavix 2FA Service
    TwoFactorVerificationEvent:
      title: TwoFactorVerificationEvent
      required:
      - created_at
      - event
      - status
      - charge
      - error
      type: object
      additionalProperties: false
      properties:
        created_at:
          type: string
          description: Date and time of the event
          format: date-time
          example: '2022-02-16T13:41:38.000Z'
        event:
          type: string
          description: 'Human-readable event description. One of the following values:

            - `Number lookup` — the Wavix platform checked whether the destination phone number is valid. Returned only when number validation is enabled for the 2FA Service.

            - `Code sent via SMS` — a code was sent via SMS.

            - `Code sent via voice` — a code was sent via a voice call.

            - `Verification` — a code verification attempt.'
          example: Code sent via SMS
        status:
          type: string
          description: Status of an action associated with the event. Can be either `success`, `failed`, or `pending`.
          example: success
        charge:
          type: string
          description: Cost of an operation associated with the event, in USD
          example: '0.005'
        error:
          type:
          - string
          - 'null'
          description: Error description, if any
    SuccessResponse:
      title: SuccessResponse
      required:
      - success
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful.
          example: true
    RecordNotFoundErrorResponse:
      title: RecordNotFoundErrorResponse
      required:
      - success
      - message
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable error description
          example: Record not found
      example:
        success: false
        message: Record not found
    TwoFactorVerificationResendResponse:
      title: TwoFactorVerificationResendResponse
      required:
      - success
      - channel
      - destination
      - created_at
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the verification code was successfully sent
          example: true
        channel:
          type: string
          description: Indicates whether the code was sent via an SMS or a voice call
          example: voice
        destination:
          type: string
          description: The destination phone number the code was sent to
          example: '447919433768'
        created_at:
          type: string
          description: Date and time the code was sent
          format: date-time
          example: '2022-02-16T13:41:38.000Z'
    UnauthorizedErrorResponse:
      title: UnauthorizedErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        error:
          type: boolean
          description: Indicates that the response represents an error. Always `true` for this error.
          example: true
        message:
          type: string
          description: Human-readable description stating that authentication is missing or invalid.
          example: Unauthorized
    TooManyRequestsErrorResponse:
      title: TooManyRequestsErrorResponse
      required:
      - success
      - message
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable description stating that the rate limit was exceeded.
          example: Too many requests. Please retry after the specified interval.
    PhoneLookupDetails:
      title: PhoneLookupDetails
      required:
      - number_type
      - country
      - current_carrier
      type: object
      additionalProperties: false
      properties:
        number_type:
          type: string
          description: The destination phone number type
          example: mobile
        country:
          type: string
          description: The destination phone number's 2-letter ISO country code
          example: GB
        current_carrier:
          type: string
          description: The carrier name the phone number currently belongs to
          example: Vodafone
    NotFoundErrorResponse:
      title: NotFoundErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable description stating that no resource matches the given ID.
          example: Record not found
    TwoFactorVerificationCreateRequest:
      title: TwoFactorVerificationCreateRequest
      required:
      - service_id
      - to
      - channel
      type: object
      additionalProperties: false
      properties:
        service_id:
          type: string
          description: Unique Wavix 2FA Service ID. Available on the Wavix portal.
          example: 7204a030201211ee9fb47d093f2f127c
        to:
          type: string
          description: End user's phone number to which the verification code will be sent. The phone number must be in E.164 format.
          example: '447919433768'
        channel:
          type: string
          description: Channel used to deliver the verification code. One of `sms` (sent as a text message) or `voice` (read aloud over a phone call).
          example: sms
    ForbiddenErrorResponse:
      title: ForbiddenErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable description of why access is forbidden.
          example: The service is not provisioned for your account.
    TwoFactorVerificationResponse:
      title: TwoFactorVerificationResponse
      required:
      - success
      - service_id
      - session_url
      - session_id
      - destination
      - created_at
      - number_lookup
      type: object
      additionalProperties: false
      properties:
        success:
          type: boolean
          description: Indicates whether the 2FA Verification was successfully created
          example: true
        service_id:
          type: string
          description: Unique identifier of the Wavix 2FA Service
          example: 7204a030201211ee9fb47d093f2f127c
        session_url:
          type: string
          description: Automatically generated 2FA Verification URL. The URL can be used to resend or validate the OTP.
          example: https://api.wavix.com/v1/two-fa/verification/2953d4308f2e11ecb75fcdafd6d2d687
        session_id:
          type: string
          description: Unique identifier of the Wavix 2FA Verification
          example: 2953d4308f2e11ecb75fcdafd6d2d687
        destination:
          type: string
          description: The end user's phone number.
          example: '447919433768'
        created_at:
          type: string
          description: Date and time the 2FA Verification is created
          format: date-time
          example: '2022-02-16T13:41:38.000Z'
        number_lookup:
          $ref: '#/components/schemas/PhoneLookupDetails'
    TwoFactorVerificationCheckRequest:
      title: TwoFactorVerificationCheckRequest
      required:
      - code
      type: object
      additionalProperties: false
      properties:
        code:
          type: string
          description: The code entered by an end user
          example: '123456'
  responses:
    NotFoundErrorResponse:
      description: Request failed. An object with the specified ID is not found.
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NotFoundErrorResponse'
    ValidationErrorResponse:
      description: Validation error
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponse'
    UnauthorizedErrorResponse:
      description: Unauthorized
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UnauthorizedErrorResponse'
    ForbiddenErrorResponse:
      description: Request failed. The feature is disabled for your account.
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ForbiddenErrorResponse'
    TooManyRequestsErrorResponse:
      description: Too many requests
      headers:
        Retry-After:
          description: Number of seconds to wait before retrying the request.
          schema:
            type: integer
            example: 30
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TooManyRequestsErrorResponse'
    BadRequestErrorResponse:
      description: Request failed. Missing or invalid parameter <param_name>
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Wavix API key. Pass as `Authorization: Bearer <api_key>`. Keys support per-resource scopes (none / read / write). See [Restricted keys and scopes](https://docs.wavix.com/api-reference/authentication#restricted-keys-and-scopes).

        '