📞
API Docs
  • Welcome
  • NUMBERS / ORDERING
    • List Areas
    • List Numbers
    • Order Numbers - No Cart
    • Delete Numbers
    • Vanity Tollfree - Search
    • Vanity Toll Free - Order
  • Shopping Cart Ordering
    • Add Number to Cart
    • List Numbers in Cart
    • Delete Number from Cart
    • Complete Order Cart
  • MY INVENTORY
    • List My Nmbers
    • List Call Flows
    • Change CallFlow
    • CDR Records
  • SMS/MMS
    • Send SMS
    • Send MMS
    • Receive SMS/MMS
    • Receive Delivery Receipts
  • Campaigns
    • Submit TollFree Campaign
  • CALL APIS
    • Calls
    • Set Incoming URL
    • Incoming Calls
    • Listing Calls
    • Making Calls
      • Example Code
        • Outbound to Tel#
        • Outbound to SIP Device
        • Example Responses
    • Modifying Live Calls
      • Examples
    • Recordings
      • Get List of Recordings
      • Delete a Recording
  • CALL API MARKUP
    • API Call Markup Language
      • Say
      • Dial
        • Number
        • Client
        • SIP
      • Play
      • Gather
      • Record
      • Hangup
      • Pause
      • Reject
      • Redirect
  • LOOKUPS
    • Carrier and CNAM
  • Number Portability
    • Validate Portability
    • Lookup Port Request
    • Submit Port Request
  • FAXING
    • Create Outbound Fax
    • Lookup Outbound Fax Status
    • List Faxes
    • Download File
Powered by GitBook
On this page
  1. Number Portability

Validate Portability

Validate that numbers are portable to our system

GET or POST Request

https://v1.api19.com/lnp/portability/check

Send us a GET or POST request with your key and the numbers to validate.

We will validate the portability of numbers and reply with all numbers are valid or errors.

Argument

Required

Type

numbers

yes

comma list of numbers

key

yes

api key

curl -X POST https://v1.api19.com/lnp/portability/check \
 -d "numbers=3038821111,3035551212,3332221111" \
 -d 'key=your-key'
{
  "status": "ok",
  "data": {
    "message": "3035551111 is unsupported",
    "errors": {
      "3035551111": "3035551111 is unsupported"
    }
  }
}

OR

{
  "status": "ok",
  "data": {
    "message": "All numbers are valid",
    "errors": []
  }
}
PreviousCarrier and CNAMNextLookup Port Request

Last updated 28 days ago