:doc:`EndUserMessagingSocial <../../socialmessaging>` / Client / get_linked_whatsapp_business_account_phone_number

*************************************************
get_linked_whatsapp_business_account_phone_number
*************************************************



.. py:method:: EndUserMessagingSocial.Client.get_linked_whatsapp_business_account_phone_number(**kwargs)

  

  Retrieve the WABA account id and phone number details of a WhatsApp business account phone number.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/GetLinkedWhatsAppBusinessAccountPhoneNumber>`_  


  **Request Syntax**
  ::

    response = client.get_linked_whatsapp_business_account_phone_number(
        id='string'
    )
    
  :type id: string
  :param id: **[REQUIRED]** 

    The unique identifier of the phone number. Phone number identifiers are formatted as ``phone-number-id-01234567890123456789012345678901``. Use `GetLinkedWhatsAppBusinessAccount <https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html>`__ to find a phone number's id.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'phoneNumber': {
              'arn': 'string',
              'phoneNumber': 'string',
              'phoneNumberId': 'string',
              'metaPhoneNumberId': 'string',
              'displayPhoneNumberName': 'string',
              'displayPhoneNumber': 'string',
              'qualityRating': 'string',
              'dataLocalizationRegion': 'string'
          },
          'linkedWhatsAppBusinessAccountId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **phoneNumber** *(dict) --* 

        The details of your WhatsApp phone number.

        
        

        - **arn** *(string) --* 

          The ARN of the WhatsApp phone number.

          
        

        - **phoneNumber** *(string) --* 

          The phone number for sending WhatsApp.

          
        

        - **phoneNumberId** *(string) --* 

          The phone number ID. Phone number identifiers are formatted as ``phone-number-id-01234567890123456789012345678901``.

          
        

        - **metaPhoneNumberId** *(string) --* 

          The phone number ID from Meta.

          
        

        - **displayPhoneNumberName** *(string) --* 

          The display name for this phone number.

          
        

        - **displayPhoneNumber** *(string) --* 

          The phone number that appears in the recipients display.

          
        

        - **qualityRating** *(string) --* 

          The quality rating of the phone number.

          
        

        - **dataLocalizationRegion** *(string) --* 

          The geographic region where the WhatsApp phone number's data is stored and processed.

          
    
      

      - **linkedWhatsAppBusinessAccountId** *(string) --* 

        The WABA identifier linked to the phone number, formatted as ``waba-01234567890123456789012345678901``.

        
  
  **Exceptions**
  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.ValidationException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.InvalidParametersException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.ThrottledRequestException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.InternalServiceException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.DependencyException`

  