Skip to main content

Get a phone number

GET 

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

Returns one phone number, including its current status, branding and Spoof Defense state.

Path Parameters​


    businessId string<uuid>required

    The ID of the business, assigned by Hiya.

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

    phoneNumber phone_E164PhoneNumber (string)required

    An E.164 phone number, URL-encoded — the leading

    +
    becomes
    %2B
    (e.g.
    %2B12065550123
    ).

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

    Example: +12065550123

Responses​

The phone number.

Response Body

application/json