SMS Hosting API

SMS Hosting API as documented publicly: 9 operations. Contract generated from the documentation by API Evangelist (2026-11-16); not the provider's own document.

GitHub OpenAPI

Operations 9

GET /rest/api GET /rest/api #
GET /rest/api/smart/user GET /rest/api/smart/user #
GET /rest/api/user GET /rest/api/user #
GET /rest/api/verify/check GET /rest/api/verify/check #
GET /rest/api/verify/command GET /rest/api/verify/command #
POST /rest/api/verify/command Annulla un codice attivo. #
GET /rest/api/verify/send GET /rest/api/verify/send #
POST /rest/api/verify/send Invia un codice numerico ad un destinatario. #

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/sms-hosting:sms-hosting-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

sms-hosting-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: SMS Hosting API
  version: '2026-11-16'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-16: 9 operation(s) read from 3 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; SMS Hosting has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 7
    documentation: 2
    pages-with-code: 3
    pages-read: 3
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-16'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://help.smshosting.it/article/316-sms-http-api
  - https://apidoc.smshosting.it
  - https://help.smshosting.it/article/277-api-sms-otp
servers:
- url: https://api.smshosting.it
paths:
  /rest/api:
    get:
      operationId: get_rest_api
      tags:
      - Rest
      summary: GET /rest/api
      x-source: https://apidoc.smshosting.it
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl - cURL

          SMSHOSTING REST API

          Introduction

          Effettuare una richiesta

          Deprecazione TLS 1.0 e 1.1

          Gestire la risposta

          Librerie

          Invio SMS

          Invio SMS OTP (2FA)

          Alias (Mittenti SMS)

          Ricezione SMS

          Ricezione RCS

          Invio Email

          Fidelity Card

          Coupon Digitali

          Booking

          Contatti

          Liste Contatti

          Campi Personalizzati

          Gestione Consensi e Privacy

          User

          Rivenditori

          Invio RCS

          Invio Whatsapp

          Gestione Modelli Whatsapp

          SSO

          '
  /rest/api/smart/user:
    get:
      operationId: get_rest_api_smart_user
      tags:
      - Rest
      summary: GET /rest/api/smart/user
      x-source: https://help.smshosting.it/article/316-sms-http-api
      parameters:
      - name: authKey
        in: query
        required: false
        schema:
          type: string
      - name: authSecret
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -H \"Accept: application/json\" https://api.smshosting.it/rest/api/smart/user?authKey=[AUTH_KEY]&authSecret=[AUTH_SECRET]\
          \ \n Accept:application/xml per ottenere un XML "
  /rest/api/user:
    get:
      operationId: get_rest_api_user
      tags:
      - Rest
      summary: GET /rest/api/user
      x-source: https://apidoc.smshosting.it
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -H "Accept: application/json" --user AUTH_KEY:AUTH_SECRET https://api.smshosting.it/rest/api/user

          Accept:application/xml per ottenere un XML'
  /rest/api/verify/check:
    get:
      operationId: get_rest_api_verify_check
      tags:
      - Rest
      summary: GET /rest/api/verify/check
      x-source: https://help.smshosting.it/article/277-api-sms-otp
      parameters:
      - name: verify_code
        in: query
        required: false
        schema:
          type: string
      - name: verify_id
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRestApiVerifyCheckResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --user AUTH_KEY:AUTH_SECRET  -XGET \"https://api.smshosting.it/rest/api/verify/check?verify_id=728d03eee5a72e8102a4a905e6325449d27c583b&verify_code=1234\"\
          \n HttpResponse verify_check_response = Unirest.get(\"https://api.smshosting.it/rest/api/verify/check\")\n .header(\"accept\", \"application/json\"\
          )\n .basicAuth(SMS_AUTH_KEY, SMS_SECRET_KEY)\n .queryString(\"verify_id\", \"d95d2904792f1f172643380a9c46820c"
  /rest/api/verify/command:
    get:
      operationId: get_rest_api_verify_command
      tags:
      - Rest
      summary: GET /rest/api/verify/command
      x-source: https://help.smshosting.it/article/277-api-sms-otp
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRestApiVerifyCommandResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --user AUTH_KEY:AUTH_SECRET -XPOST https://api.smshosting.it/rest/api/verify/command  -d \"verify_id=35baca938c120e49e462809b4e62efb5fe6f6bd8\"\
          \  -d \"command=DELETE\"\n HttpResponse verify_canc_response = Unirest.post(\"https://api.smshosting.it/rest/api/verify/command\")\n\
          \ .basicAuth(SMS_AUTH_KEY, SMS_SECRET_KEY)\n .field(\"verify_id\", \"d95d2904792f1f172643380a9c46820cfbbe7042\")\n .field(\"command\"\
          , \"DE"
    post:
      operationId: post_rest_api_verify_command
      tags:
      - Rest
      summary: Annulla un codice attivo.
      x-source: https://help.smshosting.it/article/277-api-sms-otp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostRestApiVerifyCommandRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostRestApiVerifyCommandResponse'
      x-evidence:
        kind: documentation
  /rest/api/verify/search:
    get:
      operationId: get_rest_api_verify_search
      tags:
      - Rest
      summary: GET /rest/api/verify/search
      x-source: https://help.smshosting.it/article/277-api-sms-otp
      parameters:
      - name: verify_id
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRestApiVerifySearchResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --user AUTH_KEY:AUTH_SECRET  -XGET \"https://api.smshosting.it/rest/api/verify/search?verify_id=728d03eee5a72e8102a4a905e6325449d27c583b\"\
          \n HttpResponse verify_search_response = Unirest.get(\"https://api.smshosting.it/rest/api/verify/search\")\n .basicAuth(SMS_AUTH_KEY,\
          \ SMS_SECRET_KEY)\n .queryString(\"verify_id\", \"d95d2904792f1f172643380a9c46820cfbbe7042\")\n .asJson();\n Unirest\\Request::auth(SMS_AUT"
  /rest/api/verify/send:
    get:
      operationId: get_rest_api_verify_send
      tags:
      - Rest
      summary: GET /rest/api/verify/send
      x-source: https://help.smshosting.it/article/277-api-sms-otp
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRestApiVerifySendResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl --user AUTH_KEY:AUTH_SECRET  -XPOST https://api.smshosting.it/rest/api/verify/send  -d "to=393480000000"  -d "text=Codice
          di sblocco \${verify_code}"
    post:
      operationId: post_rest_api_verify_send
      tags:
      - Rest
      summary: Invia un codice numerico ad un destinatario.
      x-source: https://help.smshosting.it/article/277-api-sms-otp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostRestApiVerifySendRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostRestApiVerifySendResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetRestApiVerifyCheckResponse:
      type: object
      properties:
        Accept:
          type: string
    GetRestApiVerifyCommandResponse:
      type: object
      properties:
        Accept:
          type: string
    PostRestApiVerifyCommandRequest:
      type: object
      properties:
        verify_id:
          type: string
          description: Il codice ricevuto dal comando send.
        command:
          type: string
          description: 'Può assumere il valore: DELETE.'
      required:
      - verify_id
      - command
    PostRestApiVerifyCommandResponse:
      type: object
      properties:
        command:
          type: string
          description: Comando eseguito.
    GetRestApiVerifySearchResponse:
      type: object
      properties:
        Accept:
          type: string
    GetRestApiVerifySendResponse:
      type: object
      properties:
        Accept:
          type: string
    PostRestApiVerifySendRequest:
      type: object
      properties:
        to:
          type: string
          description: Il destinatario del messaggio. Deve essere un numero di cellulare compreso di prefisso internazionale.
        text:
          type: string
          description: Testo del messaggio. Deve contenere il placeholder ${verify_code}.
        from:
          type: string
          description: Il mittente del Sms.
        sandbox:
          type: boolean
          description: Consente di testare la chiamata senza inviare effettivamente il messaggio.
        app_id:
          type: string
          description: Identifica l'applicazione per cui si richiede il codice.
        encoding:
          type: string
          description: L'encoding da utilizzare per il testo del messaggio.
        code_len:
          type: integer
          description: Lunghezza del codice.
        max_retry:
          type: integer
          description: Numero massimo di tentativi ammessi.
        ttl:
          type: integer
          description: Durata massima in secondi del codice.
      required:
      - to
      - text
    PostRestApiVerifySendResponse:
      type: object
      properties:
        verify_id:
          type: string
          description: Identificativo univoco della richiesta codice.
tags:
- name: Rest