Webshare API

Webshare API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-28); not the provider's own document.

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 21

GET / GET / #
GET /api/v2/apikey GET /api/v2/apikey #
PATCH /api/v2/apikey Update API key #
POST /api/v2/apikey Create API key – Webshare API Docs #
DELETE /api/v2/apikey/{id}/ This endpoint lets you delete an API key. #
GET /api/v2/apikey/{id} GET /api/v2/apikey/{id} #
GET /api/v2/notification/{id} GET /api/v2/notification/{id} #
GET /api/v2/payment/method GET /api/v2/payment/method #
POST /api/v2/payment/method Update payment method #
DELETE /api/v2/payment/method/ Remove payment method #
GET /api/v2/payment/method/ List payment methods #
GET /api/v2/payment/method/1/ Get payment method #
GET /api/v2/profile GET /api/v2/profile #
GET /api/v2/profile/preferences GET /api/v2/profile/preferences #
PATCH /api/v2/profile/preferences Update user preferences #
GET /api/v2/referral/config GET /api/v2/referral/config #
PATCH /api/v2/referral/config This endpoint updates the referral config. The only writable fields are mode and paypal_payout_email. #
GET /api/v2/twofactorauth/method GET /api/v2/twofactorauth/method #
POST /api/v2/twofactorauth/method Change 2FA Method #
GET /api/v2/twofactorauth/method/{id} GET /api/v2/twofactorauth/method/{id} #
GET /webshare-proxy/webshare-cli/releases/download/v0.3.0/{v030id} GET /webshare-proxy/webshare-cli/releases/download/v0.3.0/webshare_0.3.0_linux_amd64.tar.gz #

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/webshare-io:webshare-io-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

webshare-io-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Webshare API
  version: '2026-11-28'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-28: 21 operation(s) read from 17 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; Webshare has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 13
    documentation: 8
    pages-with-code: 17
    pages-read: 17
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-28'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://apidocs.webshare.io/userprofile/updatePreferences
  - https://apidocs.webshare.io/userprofile/retrivePreferences
  - https://apidocs.webshare.io/cli-sdks
  - https://apidocs.webshare.io/apikeys/list
  - https://apidocs.webshare.io/apikeys/create
  - https://apidocs.webshare.io/apikeys/delete
  - https://apidocs.webshare.io/apikeys/update
  - https://apidocs.webshare.io/apikeys/retrieve
  - https://apidocs.webshare.io/notifications/restore
  - https://apidocs.webshare.io/billing/payment_methods
  - https://apidocs.webshare.io/twofactorauth/get-2fa-method
  - https://apidocs.webshare.io/billing/update_payment_method
  - https://apidocs.webshare.io/twofactorauth/change-2fa-method
  - https://apidocs.webshare.io/twofactorauth/activate-2fa-method
  - http://help.webshare.io/en/articles/17327775-how-can-i-use-the-webshare-cli.md
  - https://apidocs.webshare.io
  - https://apidocs.webshare.io/referral
servers:
- url: https://proxy.webshare.io
paths:
  /:
    get:
      operationId: get
      tags:
      - Api
      summary: GET /
      x-source: https://apidocs.webshare.io/cli-sdks
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --proxy \"$( webshare proxy-url --rotate )\" https://ipv4.webshare.io/ \n On a terminal the output is a table. In a pipe\
          \ it is plain text with no headers or colors, and --json \ngives JSON. Commands that work on a plan accept --plan and use your active\
          \ plan without it. See the\n CLI README (opens in a new tab) for every command. \n SDKs \n The SDKs wrap this API with typed clients.\
          \ They read your AP"
  /api/v2/apikey:
    get:
      operationId: get_api_v2_apikey
      tags:
      - Api
      summary: GET /api/v2/apikey
      x-source: https://apidocs.webshare.io/apikeys/list
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV2ApikeyResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl example.py import requests \n response = requests . get ( \n \"https://proxy.webshare.io/api/v2/apikey/\" , \n headers\
          \ = { \"Authorization\" : \"Token APIKEY\" } \n ) \n response . json () \n The commands above return JSON structured like this: \n response.json\
          \ { \n \"count\" : 1 , \n \"next\" : null , \n \"previous\" : null , \n \"results\" : [ \n { \n \"id\" : 1337 , \n \"key\" : \"abc1234...zzz\"\
          \ , \n \"label\" : \"server1 key"
    patch:
      operationId: patch_api_v2_apikey
      tags:
      - Api
      summary: Update API key
      description: This endpoint updates an API key.
      x-source: https://apidocs.webshare.io/apikeys/update
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchApiV2ApikeyRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchApiV2ApikeyResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_v2_apikey
      tags:
      - Api
      summary: Create API key – Webshare API Docs
      description: This endpoint lets you create an API Key.
      x-source: https://apidocs.webshare.io/apikeys/create
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV2ApikeyRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV2ApikeyResponse'
      x-evidence:
        kind: documentation
  /api/v2/apikey/{id}/:
    delete:
      operationId: delete_api_v2_apikey_id
      tags:
      - Api
      summary: This endpoint lets you delete an API key.
      description: The above command returns empty response with 204 HTTP status code.
      x-source: https://apidocs.webshare.io/apikeys/delete
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v2/apikey/{id}:
    get:
      operationId: get_api_v2_apikey_id
      tags:
      - Api
      summary: GET /api/v2/apikey/{id}
      x-source: https://apidocs.webshare.io/apikeys/delete
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV2ApikeyIdResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl example.py import requests \n response = requests . delete ( \n \"https://proxy.webshare.io/api/v2/apikey/<ID>/\" , \n\
          \ headers = { \"Authorization\" : \"Token APIKEY\" } \n ) \n response . json () \n The above command returns empty response with 204\
          \ HTTP status code \n HTTP/1.1 204 No Content List API keys Webshare.io Fast & Affordable Proxy Servers Copyright 2026 © Webshare Software"
  /api/v2/notification/{id}:
    get:
      operationId: get_api_v2_notification_id
      tags:
      - Api
      summary: GET /api/v2/notification/{id}
      x-source: https://apidocs.webshare.io/notifications/restore
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV2NotificationIdResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl restore_notification.py import requests \n response = requests . post ( \n \"https://proxy.webshare.io/api/v2/notification/<ID>/restore/\"\
          \ , \n headers = { \"Authorization\" : \"Token APIKEY\" } \n ) \n response . json () \n The commands above return JSON structured like\
          \ this: \n response.json { \n \"id\" : 13 , \n \"type\" : \"too_much_bandwidth_too_little_proxies\" , \n \"is_dismissable\" : true ,\
          \ \n \"context\" : { "
  /api/v2/payment/method:
    get:
      operationId: get_api_v2_payment_method
      tags:
      - Api
      summary: GET /api/v2/payment/method
      x-source: https://apidocs.webshare.io/billing/payment_methods
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV2PaymentMethodResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl list_payment_methods.py import requests \n response = requests . get ( \n \"https://proxy.webshare.io/api/v2/payment/method/\"\
          \ , \n headers = { \"Authorization\" : \"Token APIKEY\" } \n ) \n response . json () \n The commands above return JSON structured like\
          \ this: \n response.json { \n \"count\" : 1 , \n \"next\" : null , \n \"previous\" : null , \n \"results\" : [ \n { \n \"id\" : 1 ,\
          \ \n \"type\" : \"StripeCard\" , \n \"brand"
    post:
      operationId: post_api_v2_payment_method
      tags:
      - Api
      summary: Update payment method
      description: You can use this API to update your payment method. The update payment method API uses only recaptcha field. This API endpoint
        requires recaptcha validation.
      x-source: https://apidocs.webshare.io/billing/update_payment_method
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV2PaymentMethodRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV2PaymentMethodResponse'
      x-evidence:
        kind: documentation
  /api/v2/payment/method/:
    delete:
      operationId: delete_api_v2_payment_method
      tags:
      - Api
      summary: Remove payment method
      description: Removes the card attached to the subscription; returns 204 No Content on success.
      x-source: https://apidocs.webshare.io/billing/payment_methods
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_api_v2_payment_method
      tags:
      - Api
      summary: List payment methods
      x-source: https://apidocs.webshare.io/billing/payment_methods
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV2PaymentMethodResponse2'
      x-evidence:
        kind: documentation
  /api/v2/payment/method/1/:
    get:
      operationId: get_api_v2_payment_method_1
      tags:
      - Api
      summary: Get payment method
      x-source: https://apidocs.webshare.io/billing/payment_methods
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV2PaymentMethod1Response'
      x-evidence:
        kind: documentation
  /api/v2/profile:
    get:
      operationId: get_api_v2_profile
      tags:
      - Api
      summary: GET /api/v2/profile
      x-source: https://apidocs.webshare.io
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV2ProfileResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl example.py import requests \n requests . get ( \n \"https://proxy.webshare.io/api/v2/profile/\" , \n headers = { \"Authorization\"\
          \ : \"Token APIKEY\" } \n ) \n ℹ️ You can create your API Keys on your Dashboard (opens in a new tab) page. \n Pagination \n The Webshare\
          \ API uses pagination on some of its resource endpoints. The following GET query parameters are used\nto determine the current page\
          \ and the page"
  /api/v2/profile/preferences:
    get:
      operationId: get_api_v2_profile_preferences
      tags:
      - Api
      summary: GET /api/v2/profile/preferences
      x-source: https://apidocs.webshare.io/userprofile/updatePreferences
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV2ProfilePreferencesResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl patch_profile_preferences.py import requests \n response = requests . patch ( \n \"https://proxy.webshare.io/api/v2/profile/preferences/\"\
          \ , \n headers = { \"Authorization\" : \"Token APIKEY\" }, \n json = { \n \"customer_satisfaction_survey_last_dismissed_at\" : \"2022-06-14T15:59:06.663774-07:00\"\
          \ \n }, \n ) \n response . json () \n The commands above return JSON structured like this: \n response.json { \n \"id\""
    patch:
      operationId: patch_api_v2_profile_preferences
      tags:
      - Api
      summary: Update user preferences
      x-source: https://apidocs.webshare.io/userprofile/updatePreferences
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchApiV2ProfilePreferencesRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchApiV2ProfilePreferencesResponse'
      x-evidence:
        kind: documentation
  /api/v2/referral/config:
    get:
      operationId: get_api_v2_referral_config
      tags:
      - Api
      summary: GET /api/v2/referral/config
      x-source: https://apidocs.webshare.io/referral
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV2ReferralConfigResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl get_referral_object.py import requests \n response = requests . get ( \n \"https://proxy.webshare.io/api/v2/referral/config/\"\
          \ , \n headers = { \"Authorization\" : \"Token APIKEY\" } \n ) \n response . json () \n The commands above return JSON structured like\
          \ this: \n response.json { \n \"id\" : 1 , \n \"mode\" : \"payout\" , \n \"paypal_payout_email\" : \"paypal@webshare.io\" , \n \"id_verification_required\"\
          \ : false , "
    patch:
      operationId: patch_api_v2_referral_config
      tags:
      - Api
      summary: This endpoint updates the referral config. The only writable fields are mode and paypal_payout_email.
      description: PATCH https://proxy.webshare.io/api/v2/referral/config/
      x-source: https://apidocs.webshare.io/referral
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchApiV2ReferralConfigRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchApiV2ReferralConfigResponse'
      x-evidence:
        kind: documentation
  /api/v2/twofactorauth/method:
    get:
      operationId: get_api_v2_twofactorauth_method
      tags:
      - Api
      summary: GET /api/v2/twofactorauth/method
      x-source: https://apidocs.webshare.io/twofactorauth/change-2fa-method
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV2TwofactorauthMethodResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl change_2fa_method_request.py import requests \n response = requests . post ( \n \"https://proxy.webshare.io/api/v2/twofactorauth/method/\"\
          \ , \n json = { \n \"type\" : \"email_code\" , \n }, \n headers = { \"Authorization\" : \"Token APIKEY\" } \n ) \n assert response .\
          \ status_code == 200 \n The commands above return JSON structured like this: \n response.json { \n \"id\" : 137 , \n \"type\" : \"email_code\"\
          \ , \n \"active\""
    post:
      operationId: post_api_v2_twofactorauth_method
      tags:
      - Api
      summary: Change 2FA Method
      description: You can use this API to change the default 2FA method for your account. Email method activates instantly. Device method requires
        additional steps to complete the activate the new method.
      x-source: https://apidocs.webshare.io/twofactorauth/change-2fa-method
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV2TwofactorauthMethodRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV2TwofactorauthMethodResponse'
      x-evidence:
        kind: documentation
  /api/v2/twofactorauth/method/{id}:
    get:
      operationId: get_api_v2_twofactorauth_method_id
      tags:
      - Api
      summary: GET /api/v2/twofactorauth/method/{id}
      x-source: https://apidocs.webshare.io/twofactorauth/activate-2fa-method
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV2TwofactorauthMethodIdResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl activate_2fa_method_request.py import requests \n response = requests . post ( \n \"https://proxy.webshare.io/api/v2/twofactorauth/method/<ID>/activate/\"\
          \ , \n json = { \n \"code_1\" : \"123456\" , \n \"code_2\" : \"987654\" , \n }, \n headers = { \"Authorization\" : \"Token APIKEY\"\
          \ } \n ) \n assert response . status_code == 200 \n The commands above return JSON structured like this: \n response.json { \n \"id\"\
          \ : 137 "
  /webshare-proxy/webshare-cli/releases/download/v0.3.0/{v030id}:
    get:
      operationId: get_webshare_proxy_webshare_cli_releases_download_v0_3_0_v030id
      tags:
      - Webshare Proxy
      summary: GET /webshare-proxy/webshare-cli/releases/download/v0.3.0/webshare_0.3.0_linux_amd64.tar.gz
      x-source: http://help.webshare.io/en/articles/17327775-how-can-i-use-the-webshare-cli.md
      parameters:
      - name: v030id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -LO https://github.com/webshare-proxy/webshare-cli/releases/download/v0.3.0/webshare_0.3.0_linux_amd64.tar.gz

          ```'
        collapsed_from: 2 example path(s) differing only at v030Id
components:
  schemas:
    GetApiV2ApikeyResponse:
      type: object
      properties:
        Authorization:
          type: string
    PatchApiV2ApikeyRequest:
      type: object
      properties:
        label:
          type: string
          description: New label for the API key
    PatchApiV2ApikeyResponse:
      type: object
      properties:
        id:
          type: integer
          description: API key identifier
        key:
          type: string
          description: The API key value
        label:
          type: string
          description: Label of the API key
        created_at:
          type: string
          description: Timestamp when the API key was created
        updated_at:
          type: string
          description: Timestamp when the API key was last updated
    PostApiV2ApikeyRequest:
      type: object
      properties:
        label:
          type: string
          description: The label to assign to this API key. May be duplicate with other labels.
      required:
      - label
    PostApiV2ApikeyResponse:
      type: object
      properties:
        id:
          type: integer
        key:
          type: string
        label:
          type: string
        created_at:
          type: string
        updated_at:
          type: string
    GetApiV2ApikeyIdResponse:
      type: object
      properties:
        Authorization:
          type: string
    GetApiV2NotificationIdResponse:
      type: object
      properties:
        Authorization:
          type: string
    GetApiV2PaymentMethodResponse:
      type: object
      properties:
        Authorization:
          type: string
    PostApiV2PaymentMethodRequest:
      type: object
      properties:
        recaptcha:
          type: string
          description: The recaptcha token (can be invisible recaptcha).
      required:
      - recaptcha
    PostApiV2PaymentMethodResponse:
      type: object
      properties:
        pending_payment:
          type: integer
          description: The ID of the PendingPayment instance.
        stripe_client_secret:
          type: string
          description: The client_secret for the Stripe SetupIntent.
        stripe_setup_intent:
          type: string
          description: The ID of the Stripe SetupIntent.
    GetApiV2PaymentMethodResponse2:
      type: object
      properties:
        count:
          type: integer
        next:
          type: string
        previous:
          type: string
        results:
          type: array
          description: list of payment method objects
        id:
          type: integer
          description: payment method identifier
        type:
          type: string
        brand:
          type: string
        last4:
          type: string
        name:
          type: string
        expiration_year:
          type: integer
        expiration_month:
          type: integer
        created_at:
          type: string
        updated_at:
          type: string
        line:
          type: string
        city:
          type: string
        state:
          type: string
        postal_code:
          type: string
        country:
          type: string
    GetApiV2PaymentMethod1Response:
      type: object
      properties:
        id:
          type: integer
        type:
          type: string
        brand:
          type: string
        last4:
          type: string
        name:
          type: string
        expiration_year:
          type: integer
        expiration_month:
          type: integer
        created_at:
          type: string
        updated_at:
          type: string
        line:
          type: string
        city:
          type: string
        state:
          type: string
        postal_code:
          type: string
        country:
          type: string
    GetApiV2ProfileResponse:
      type: object
      properties:
        count:
          type: integer
        next:
          type:
          - string
          - 'null'
        previous:
          type: string
        results:
          type: array
          items:
            type: object
    GetApiV2ProfilePreferencesResponse:
      type: object
      properties:
        Authorization:
          type: string
    PatchApiV2ProfilePreferencesRequest:
      type: object
      properties:
        customer_satisfaction_survey_last_dismissed_at:
          type: string
          description: The timestamp when the customer satisfication survey dissmissed.
        customer_satisfaction_survey_last_completed_at:
          type: string
          description: The timestamp when the customer satisfication survey completed.
        onboarding_activity_page_viewed_at:
          type: string
          description: The timestamp when the onboarding activity page viewed.
    PatchApiV2ProfilePreferencesResponse:
      type: object
      properties:
        id:
          type: integer
        customer_satisfaction_survey_last_dismissed_at:
          type: string
        customer_satisfaction_survey_last_completed_at:
          type: string
        onboarding_activity_page_viewed_at:
          type: string
    GetApiV2ReferralConfigResponse:
      type: object
      properties:
        Authorization:
          type: string
    PatchApiV2ReferralConfigRequest:
      type: object
      properties:
        mode:
          type: string
          description: Indicates whether the system is in payout or credits mode.
        paypal_payout_email:
          type: string
          description: PayPal email for payouts; required when mode is payout.
      required:
      - mode
      - paypal_payout_email
    PatchApiV2ReferralConfigResponse:
      type: object
      properties:
        id:
          type: integer
          description: Unique identifier of the referral config instance.
        mode:
          type: string
          description: Indicates whether the system is in payout or credits mode.
        paypal_payout_email:
          type: string
          description: May be null if mode is credits. Must be set if the mode is payout.
        id_verification_required:
          type: boolean
          description: After an account is eligible for a payout, they must complete ID verification.
        credits_earned:
          type: number
          description: Amount of USD earned and pending to be converted to account credits.
        payouts_earned:
          type: number
          description: Amount of USD earned and pending to be earned out to PayPal account.
        total_credits_earned:
          type: number
          description: Total amount of credits earned so far.
        total_payouts_earned:
          type: number
          description: Total amount of payouts earned so far.
        number_of_users_referred:
          type: integer
          description: Number of unique users referred.
        number_of_users_upgraded:
          type: integer
          description: Number of unique users who upgraded.
        earn_out_frequency:
          type: string
          description: Frequency of earn-outs. Format is [DD] [HH:MM:SS].
        next_earn_out_date:
          type: string
          description: Timestamp of the next earn-out.
        minimum_earn_out_amount:
          type: number
          description: Minimum USD need to be earned for the earn-out to be processed.
        referral_code:
          type: string
          description: Unique referral code of this user.
        referral_url:
          type: string
          description: Example referral URL to the Webshare home page.
        referral_maximum_credits:
          type: number
          description: Maximum amount of credits/payouts can be earned from a single referral.
        referral_credit_ratio:
          type: number
          description: Ratio of credits/payouts earned from a referral purchase.
        referral_payment_pending_days:
          type: string
          description: Grace period for a referral credit/payouts to become available.
        promo_type:
          type: string
          description: The type of promotion referrals will receive.
        promo_value:
          type: integer
          description: The value of the promotion referrals will receive.
        created_at:
          type: string
          description: The timestamp of when this instance was created.
        updated_at:
          type: string
          description: The timestamp when this instance was last updated.
    GetApiV2TwofactorauthMethodResponse:
      type: object
      properties:
        type:
          type: string
    PostApiV2TwofactorauthMethodRequest:
      type: object
      properties:
        type:
          type: string
          description: 'Defines the type of 2FA method. Valid values: ''email_code'' or ''device_totp''.'
      required:
      - type
    PostApiV2TwofactorauthMethodResponse:
      type: object
      properties:
        id:
          type: integer
        type:
          type: string
        active:
          type: boolean
        created_at:
          type: string
        updated_at:
          type: string
    GetApiV2TwofactorauthMethodIdResponse:
      type: object
      properties:
        code_1:
          type: string
        code_2:
          type: string
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      x-source: https://apidocs.webshare.io/apikeys
tags:
- name: Api
- name: Webshare Proxy
security:
- Authorization: []