For the complete documentation index, see llms.txt. This page is also available as Markdown.

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": []
  }
}

Last updated