Create a new legal entity for your account. Legal entities represent the business identities under which your phone numbers are registered and are used for carrier registration and compliance purposes.
Request
Your API Key (LoginId from your DNCScrub account)
Request Body
The registered legal name of the business entity
Set to true to make this the default legal entity for the account
Employer Identification Number (EIN), digits without a dash (e.g., “987654321”)
Street address of the legal entity
City of the legal entity’s address
State or province code (e.g., “NY”, “CA”)
Two-letter country code (e.g., “US”)
Industry identifier code. See the table below for valid values.
| ID | Industry |
|---|
| 1 | Education |
| 2 | Transportation |
| 3 | Retail |
| 4 | Delivery/Shipping |
| 5 | Government |
| 6 | Health Care |
| 7 | Financial |
| 8 | Public Service |
| 9 | Real Estate |
| 10 | Legal |
| 11 | Restaurant/Food Services |
| 12 | Automotive |
| 13 | Religious |
| 14 | Veterinary Services |
| 15 | Trade Contractors |
| 16 | Personal Services |
| 17 | Business Services |
| 18 | Hospitality/Entertainment |
| 19 | Insurance |
| 20 | Manufacturing |
| 21 | Other Business |
| 22 | Telecommunications |
Primary contact phone number for the legal entity
Name of the primary contact person
Email address of the primary contact
PrimaryContactPhoneNumber
Phone number of the primary contact person
Number of employees at the company
Estimated number of outbound calls per month
Dun & Bradstreet DUNS number
“Doing Business As” name, if different from legal name
Description of the purpose of outbound calls
PotentialNegativeReaction
Description of potential negative reaction
Example Request
curl --location --request POST \
'https://dataapi.dncscrub.com/v1.5/legalentity/Create' \
--header 'loginId: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"IsDefault": false,
"LegalName": "Test New Company LLC",
"EIN": "123456789",
"StreetAddress": "123 Main Street",
"City": "Austin",
"State": "TX",
"Zip": "78701",
"CountryCode": "US",
"IndustryId": "7",
"PrimaryContactName": "John Doe",
"PrimaryContactEmail": "john.doe@testcompany.com",
"PrimaryContactPhoneNumber": "5125551234",
"PrimaryPhoneNumber": "5125550000",
"CallsPerMonth": 10000,
"EmployeeCount": 50,
"DunsNumber": "123456789",
"Url": "https://www.testcompany.com",
"Dba": "Test Co",
"LicenceNumber": "LIC-12345",
"CallPurposeDescription": "Customer service follow-up calls",
"PotentialNegativeReaction": "Low"
}'
{
"LegalEntityId": 68257,
"AcctId": "YOUR_ACCOUNT_ID",
"IsCreated": true,
"IsUpdated": false
}
Response Fields
The unique identifier assigned to the newly created legal entity
The account ID the legal entity belongs to
true if a new legal entity was created
Always false for the Create endpoint. If a legal entity with the same name exists, a 409 Conflict error is returned instead.
Error Responses
| Status | Description |
|---|
| 400 Bad Request | Missing required fields (e.g., LegalName) or request body is empty |
| 401 Unauthorized | Invalid or missing API key |
| 409 Conflict | A legal entity with the same LegalName already exists |
| 500 Internal Server Error | Server error during processing |