Skip to main content
GET
/
v1.5
/
Data
/
ResOrBusiness
Determines whether a phone number is associated with a residential or business line.
curl --request GET \
  --url https://dataapi.dncscrub.com/v1.5/Data/ResOrBusiness \
  --header 'loginId: <api-key>'
{
  "Phone": "<string>",
  "ResOrBusiness": "<string>"
}

Authorizations

loginId
string
header
required

LoginId Authentication: Authenticate using the LoginId generated from DNCScrub User Manager. In HTTP header place "loginId: {loginId}"

Headers

loginId
string

LoginId (aka APIKey)

Query Parameters

phone
string

The 10-digit phone number to check

loginId
string

Optional login ID for authentication override

Response

Success

Phone
string | null
ResOrBusiness
string