1. Mask a Phone Number

Curl request

$ curl 'https://api.limosys.com/maskedphone?phoneNum=%2B10000000000' -i -X GET \
    -H 'Content-Type: application/json;charset=UTF-8' \
    -H 'Authorization: YOUR_API_KEY' \
    -H 'Accept: application/json'

HTTP request

GET /maskedphone?phoneNum=%2B10000000000 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: YOUR_API_KEY
Accept: application/json
Host: api.limosys.com

HTTP response

HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, PUT, OPTIONS, DELETE
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: origin, content-type, accept, authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: Set-Cookie
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: DENY
Content-Length: 27

{"phoneNum":"+11111111111"}

HTTPie request

$ http GET 'https://api.limosys.com/maskedphone?phoneNum=%2B10000000000' \
    'Content-Type:application/json;charset=UTF-8' \
    'Authorization:YOUR_API_KEY' \
    'Accept:application/json'

Request body

Request parameters

Parameter Description

phoneNum

Phone number to mask

Response body

{"phoneNum":"+11111111111"}

Response fields

Path Type Description

phoneNum

String

Masked phone number active for XX seconds

2. Mask a Phone Number with Caller ID

Curl request

$ curl 'https://api.limosys.com/maskedphone?phoneNum=%2B10000000000' -i -X POST \
    -H 'Content-Type: application/json;charset=UTF-8' \
    -H 'Authorization: YOUR_API_KEY' \
    -H 'Accept: application/json' \
    -d '{"custId":10000,"driverId":8888,"systemComp":"SYSTEM_COMPANY","phoneNum":"+10000000000"}'

HTTP request

POST /maskedphone?phoneNum=%2B10000000000 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: YOUR_API_KEY
Accept: application/json
Content-Length: 88
Host: api.limosys.com

{"custId":10000,"driverId":8888,"systemComp":"SYSTEM_COMPANY","phoneNum":"+10000000000"}

HTTP response

HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, PUT, OPTIONS, DELETE
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: origin, content-type, accept, authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: Set-Cookie
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: DENY
Content-Length: 27

{"phoneNum":"+11111111111"}

HTTPie request

$ echo '{"custId":10000,"driverId":8888,"systemComp":"SYSTEM_COMPANY","phoneNum":"+10000000000"}' | http POST 'https://api.limosys.com/maskedphone?phoneNum=%2B10000000000' \
    'Content-Type:application/json;charset=UTF-8' \
    'Authorization:YOUR_API_KEY' \
    'Accept:application/json'

Request body

{"custId":10000,"driverId":8888,"systemComp":"SYSTEM_COMPANY","phoneNum":"+10000000000"}

Request fields

Path Type Description

custId

Number

Customer ID

driverId

Number

Driver ID

systemComp

String

System Company

phoneNum

String

Phone number

Request parameters

Parameter Description

phoneNum

Phone number to mask

Response body

{"phoneNum":"+11111111111"}

Response fields

Path Type Description

phoneNum

String

Masked phone number active for XX seconds