Saltar al contenido principal

Usage

POST /plusmobile/sms

Enviar SMS

Petición de ejemplo:

POST /plusmobile/sms HTTP/1.1
Host: example.com
Content-Type: application/json

{
"dnis": "string",
"message": "string"
}
  • Status Codes:

    • 200 OK

      SMS sent successfully

      Ejemplo de respuesta:

      HTTP/1.1 200 OK
      Content-Type: application/json

      {
      "message_id": "string"
      }
    • 400 Bad Request

      Bad Request

      Ejemplo de respuesta:

      HTTP/1.1 400 Bad Request
      Content-Type: text/html

      NO ROUTES
    • 401 Unauthorized

      Unauthorized

      Ejemplo de respuesta:

      HTTP/1.1 401 Unauthorized
      Content-Type: text/html

      NO ROUTES

GET /plusmobile/sms/[uuid]

Get SMS status

  • Parameters:
    • uuid (string) –

Petición de ejemplo:

GET /plusmobile/sms/[uuid] HTTP/1.1
Host: example.com
  • Status Codes:

    • 200 OK

      SMS status

      Ejemplo de respuesta:

      HTTP/1.1 200 OK
      Content-Type: application/json

      {
      "status": "string",
      "delivery_time": "string",
      "mccmnc": "string",
      "error_code": "string",
      "system_delivery_time": "string"
      }
    • 401 Unauthorized

      Unauthorized

      Ejemplo de respuesta:

      HTTP/1.1 401 Unauthorized
      Content-Type: text/html

      NO ROUTES

POST /plusmobile/simSwap

SIM Swap

Petición de ejemplo:

POST /plusmobile/simSwap HTTP/1.1
Host: example.com
Content-Type: application/json

{
"phoneNumber": "string"
}
  • Status Codes:

    • 200 OK

      SIM Swap successful

      Ejemplo de respuesta:

      HTTP/1.1 200 OK
      Content-Type: application/json

      {
      "message": "string"
      }
    • 400 Bad Request

      Bad Request

      Ejemplo de respuesta:

      HTTP/1.1 400 Bad Request
      Content-Type: text/html

      NO ROUTES
    • 401 Unauthorized

      Unauthorized

      Ejemplo de respuesta:

      HTTP/1.1 401 Unauthorized
      Content-Type: text/html

      NO ROUTES