- Docs
- API reference
- Endpoints and schemas
- GraphQL
- Selection
PhoneNumber
The phone number for a particular business entity.
Selection. This type is a selection. You reach it through a connection, and you choose which of its fields come back.
The phone number for a particular business entity.
Where it appears
Section titled “Where it appears”Shortest path from a primary entity: Brand → operatingLocations → OperatingLocation → phoneNumbers → PhoneNumber.
OperatingLocation.phoneNumbersRole.phoneNumbersRecord.phoneNumbers
Fields
Section titled “Fields”| Field | Label | Type | Description |
|---|---|---|---|
phoneNumber |
Phone Number | String |
Twelve-digit string representation of the complete phone number. |
rank |
Rank | Int |
Determines the display order of the attribute, with lower values shown first |
id |
ID | UUID! |
The unique identifier of this object. |
firstObservedDate |
First Observed Date | String |
The earliest date of a source record that supports this attribute or relationship. The source date is, for example, the date when Enigma collected the record or when the source last updated it. Most values have a date, a time, and a UTC offset, but some have the date only. |
lastObservedDate |
Last Observed Date | String |
The latest date of a source record that supports this attribute or relationship. It uses the same source dates and the same format as firstObservedDate. |
internalId |
String |
A numeric identifier that Enigma assigns to this object when it builds its data. On most attribute objects, id is the UUID form of this number. |
|
internalPhoneNumberId |
String |
A numeric identifier that Enigma assigns to the phone number when it builds its data. All PhoneNumber objects for one phone number share this value. |
Connections
Section titled “Connections”Each one is a connection: read it through edges { node { … } }, page it with first, and narrow it with conditions.
| Field | Leads to | Description |
|---|---|---|
operatingLocations |
OperatingLocation |
Operating locations that can be called at this phone number. Default first: 100. |
roles |
Role |
These are roles which people (and other legal entities) hold at U.S. businesses. Default first: 100. |
records |
Record |
A structured entry from an upstream data source, such as a government filing or business registration, from which Enigma derives and links business entities. Default first: 10. |
Math fields
Section titled “Math fields”Every record of this type answers count, countDistinct, has, sum, min, max, avg, collect, minDateTime, maxDateTime. Each takes field and an optional conditions. See Selection.
Example
Section titled “Example”query { search(searchInput: { entityType: BRAND name: "Safeway" conditions: { limit: 1 } }) { ... on Brand { id operatingLocations(first: 1) { edges { node { phoneNumbers(first: 1) { edges { node { id phoneNumber rank firstObservedDate lastObservedDate } } } } } } } }}Response, as returned:
{ "data": { "search": [ { "id": "0f26fbef-3436-4f85-8bcd-31fe12a4f99a", "operatingLocations": { "edges": [ { "node": { "phoneNumbers": { "edges": [ { "node": { "id": "00000074-0001-f8cc-0000-0a8000000000", "phoneNumber": "+18002182260", "rank": 0, "firstObservedDate": "2022-03-10 19:40:19+00", "lastObservedDate": "2026-09-05 07:17:25+00" } } ] } } } ] } } ] }}