# Number Rejected

This notification occurs if at least one number on the port order was rejected. Look at rejected reasons for more details on what went wrong.

Endpoint: POST NumbersRejected
Version: 1.0
Security: basicAuth, bearerAuth

## Security:

  - `basicAuth` (unknown)
    http basic

  - `bearerAuth` (unknown)
    oauth2

## Request fields (application/json):

  - `event` (string)
    The event that triggered the webhook
    Enum: "NUMBERS_ACTIVATED", "NUMBERS_CONFIRMED", "NUMBERS_REJECTED"

  - `orderId` (string)
    The order ID that was updated.

  - `phoneNumbers` (array)

  - `phoneNumbers.phoneNumber` (string, required)
    The phone number in [E.164](https://support.sinch.com/hc/en-us/articles/52299961578771-E-164) format.
    Example: +12345678901

  - `phoneNumbers.voiceConfiguration` (any)
    Configuration for voice

  - `phoneNumbers.voiceConfiguration.type` (string)
    Enum: "RTC", "EST", "FAX"

  - `phoneNumbers.voiceConfiguration.appId` (string)
    The app id from the dashboard where you want to use the number
    Example: 6afd2da3-1692-4443-834c-8a2f386ec284

  - `phoneNumbers.voiceConfiguration.trunkId` (string)
    Example: 01G65Z755AFWAKHE12NY0CQ9FH

  - `phoneNumbers.voiceConfiguration.serviceId` (string)
    Example: 01G65Z755GHWAKHE12NY0CQO0T

  - `phoneNumbers.smsConfiguration` (object)
    Configuration for what sms service id to use, and other sms related configurations

  - `phoneNumbers.smsConfiguration.smsAppId` (string)

  - `phoneNumbers.endUser` (object, required)

  - `phoneNumbers.endUser.name` (string, required)
    The name of the end user can be a person's name or company name. Please note if you are not using this yourself it should be the name/company of the actual user.
    Example: Joe Doe

  - `phoneNumbers.endUser.streetNum` (string, required)
    The end user's street number.
    Example: 123

  - `phoneNumbers.endUser.streetName` (string, required)
    The end user's street name.
    Example: Main

  - `phoneNumbers.endUser.streetPreDir` (string)
    The prefix direction in the end user's address, if any.
    Example: N

  - `phoneNumbers.endUser.streetType` (string)
    The end user's street type, for example Road or Court.
    Example: Court

  - `phoneNumbers.endUser.streetPostDir` (string)
    The suffix direction in the end user's address, if any.
    Example: SW

  - `phoneNumbers.endUser.locationType1` (string)
    Any additional location information, such as suite or apartment.
    Example: Suite

  - `phoneNumbers.endUser.locationValue1` (string)
    Any additional location information, such as suite number or apartment number.
    Example: 2134

  - `phoneNumbers.endUser.locationType2` (string)
    Field for additional location information, such as suite number or apartment number.

  - `phoneNumbers.endUser.locationValue2` (string)
    Field for additional location information, such as suite number or apartment number.

  - `phoneNumbers.endUser.locationType3` (string)
    Field for additional location information, such as suite number or apartment number.

  - `phoneNumbers.endUser.locationValue3` (string)
    Field for additional location information, such as suite number or apartment number.

  - `phoneNumbers.endUser.city` (string, required)
    The end user's city.
    Example: Anytown

  - `phoneNumbers.endUser.state` (string, required)
    The end user's state, using the two letter abbreviation.
    Example: CA

  - `phoneNumbers.endUser.zipCode` (string, required)
    The end user's zip code.
    Example: 12345

  - `phoneNumbers.endUser.typeOfService` (string)
    The type of address. Available values are `B` for Business or `R` for Residence
    Enum: "B", "R"

  - `phoneNumbers.portOutInfo` (object, required)
    The port out information at the previous carrier for the number. Usually only a port-out PIN is required.

  - `phoneNumbers.portOutInfo.existingPortOutPin` (string)
    The existing port-out PIN from the previous carrier.

  - `phoneNumbers.portOutInfo.accountNum` (string)
    The account number associated with the number from the previous carrier.

  - `phoneNumbers.portOutInfo.accountPhoneNumber` (string)
    The contact phone number on the account.

  - `phoneNumbers.portOutInfo.authorizingName` (string)
    Name of the person authorizing the port-in.

  - `phoneNumbers.portOutInfo.authorizingDate` (string)
    Date of authorizing the port-in (must be today or earlier and cannot be in the future). Formatted as [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601): `YYYY-MM-DDThh:mm:ss.SSSZ`.
    Example: 2024-09-24T12:00:00Z

  - `phoneNumbers.features` (object)

  - `phoneNumbers.features.e911` (object)
    An object describing the emergency 911 contact address associated with the number.

  - `phoneNumbers.features.e911.name` (string)
    The contact name.

  - `phoneNumbers.features.e911.streetNum` (string)
    The street number for the emergency address.
    Example: 12345

  - `phoneNumbers.features.e911.streetInfo` (string)
    The street name of the emergency location.
    Example: Main St

  - `phoneNumbers.features.e911.location` (string)
    The location for address.
    Example: Apt 5

  - `phoneNumbers.features.e911.city` (string)
    The city of the emergency location.
    Example: Springfield

  - `phoneNumbers.features.e911.state` (string)
    The state or province of the emergency location.
    Example: IL

  - `phoneNumbers.features.e911.postalCode` (string)
    The postal code of the emergency location.
    Example: 62701

  - `phoneNumbers.features.e911.postalCodePlusFour` (string)
    The postal code of the emergency location.
    Example: 1234

  - `phoneNumbers.newPortOutPin` (string)

