Skip to main content

List phone numbers

GET 

/v1/businesses/{businessId}/phone-numbers

Lists a business's phone numbers. Supports filtering, sorting, and paging.

Path Parameters​


    businessId string<uuid>required

    The ID of the business, assigned by Hiya.

    Example: 9b8a1c4e-2c0f-4f3d-9a1e-7b3a2b4c6d8f

Query Parameters​


    search string

    Matches part of a phone number (case-insensitive).

    Possible values: >= 2 characters and <= 200 characters

    Example: 2065

    status string

    Return only numbers with this status. Lowercase form of the PhoneStatus values (e.g. pending).

    Possible values: [pending, registered, needs_attention]


    sortBy string

    Field to sort by.

    Possible values: [phoneNumber, displayName, callReason, createdAt, updatedAt]

    Default value: createdAt

    sortDirection string

    Sort direction. asc or desc (case-insensitive).

    Possible values: Value must match regular expression ^[Aa][Ss][Cc]$|^[Dd][Ee][Ss][Cc]$

    Default value: desc

    page integer

    Page number, starting at 0.

    Possible values: >= 0

    Default value: 0

    size integer

    Number of items per page.

    Possible values: >= 1 and <= 200

    Default value: 50

Responses​

A page of phone numbers.

Response Body

application/json

    phoneNumbersobject[]required
  • Array [


  • phoneNumberstringrequired

    The number, in E.164 format.

    Possible values: Value must match regular expression ^\+[1-9]\d{1,14}$

    Example: +12065550123

    countrystringrequired

    ISO 3166-1 alpha-2 country code, inferred from the phone number.

    Possible values: Value must match regular expression ^[A-Z]{2}$

    Example: US

    statusstringrequired

    A phone number's registration status.

    Registering a number is synchronous — the write returns once it is registered or rejected. This status reports what happens after that: the number is checked against Hiya's number-attribute, conflict and fraud screening, and the outcome arrives asynchronously. A number is therefore live and brandable while still PENDING, and can move to NEEDS_ATTENTION after its branding is already in place.

    | Value | Meaning | |-------|---------| | PENDING | Screening has not finished. The number is registered and usable. | | REGISTERED | Screening passed. | | NEEDS_ATTENTION | Screening flagged or declined the number — it may stop being distributed. attentionReason says why. Contact Hiya. |

    Format: phone_PhoneStatus (string)

    Possible values: [PENDING, REGISTERED, NEEDS_ATTENTION]

    Example: REGISTERED

    attentionReasonstring | null

    Why the number is NEEDS_ATTENTION, as text. Set only while status is NEEDS_ATTENTION; null otherwise. Meant to be shown to a person — don't parse it, since the wording can change.

    Example: Number is flagged for fraud

    brandingobject | null

    The number's branding, or null if branded call is off for it.


    displayNamestringrequired

    Name shown on the recipient's phone for branded calls.

    Example: Acme Plumbing

    logoIdstring | null

    The id of an uploaded logo.

    Format: string<uuid>
    Example: 550e8400-e29b-41d4-a716-446655440000

    callReasonstring | null

    Reason for the call, shown next to the brand.

    Example: Appointment reminder

    doNotOriginateboolean

    Whether the number is marked Do-Not-Originate.

    Example: false

    secureBrandingobject | null

    Secure Branding state for the number.


    enabledbooleanrequired
    Example: true

    statusstring

    The state of a number's branding.

    | Value | Meaning | |-------|---------| | BRANDED | Branding is live. | | CHANGES_PENDING | A change is being processed. | | LIMITED_DISTRIBUTION | Branding is live, but only on some networks. | | NEEDS_ATTENTION | Branding was flagged; branding.attentionReason says why. You may need to contact Hiya. | | UNVERIFIED | Branding isn't verified yet. |

    Format: phone_BrandingStatus (string)

    Possible values: [BRANDED, CHANGES_PENDING, LIMITED_DISTRIBUTION, NEEDS_ATTENTION, UNVERIFIED]

    Example: BRANDED

    attentionReasonstring | null

    Why the branding is NEEDS_ATTENTION, as text. Set only while branding.status is NEEDS_ATTENTION; null otherwise. Meant to be shown to a person — don't parse it, since the wording can change.

    Example: Display name doesn't match the business

    spoofDefenseobject | null

    The number's Spoof Defense state, or null if it has never been set. Mirrors the three states the write side accepts.


    enabledbooleanrequired

    Whether Spoof Defense is on for the number.

    Example: true

    createdAtstringrequired

    When the number was last registered.

    Format: string<date-time>

    Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$

    Example: 2026-05-28T14:32:10.264Z

    updatedAtstringrequired

    When the number was last changed.

    Format: string<date-time>

    Possible values: Value must match regular expression ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$

    Example: 2026-05-28T14:45:00.324Z
  • ]


  • pagingobjectrequired

    Details about the current page of results.


    currentPageintegerrequired

    This page's number, starting at 0.

    Example: 0

    totalElementsintegerrequired

    Total items matching the filter, across all pages.

    Example: 137

    totalPagesintegerrequired

    Total number of pages available.

    Example: 3

    pageSizeintegerrequired

    Items per page.

    Example: 50

Example from Schema​

{
"phoneNumbers": [
{
"phoneNumber": "+12065550123",
"country": "US",
"status": "REGISTERED",
"attentionReason": "Number is flagged for fraud",
"branding": {
"displayName": "Acme Plumbing",
"logoId": "550e8400-e29b-41d4-a716-446655440000",
"callReason": "Appointment reminder",
"doNotOriginate": false,
"secureBranding": {
"enabled": true
},
"status": "BRANDED",
"attentionReason": "Display name doesn't match the business"
},
"spoofDefense": {
"enabled": true
},
"createdAt": "2026-05-28T14:32:10.264Z",
"updatedAt": "2026-05-28T14:45:00.324Z"
}
],
"paging": {
"currentPage": 0,
"totalElements": 137,
"totalPages": 3,
"pageSize": 50
}
}