Skip to main content

linked_whats_app_business_account_phone_numbers

Creates, updates, deletes, gets or lists a linked_whats_app_business_account_phone_numbers resource.

Overview

Namelinked_whats_app_business_account_phone_numbers
TypeResource
Idaws.socialmessaging.linked_whats_app_business_account_phone_numbers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
linked_whats_app_business_account_idstringThe WABA identifier linked to the phone number, formatted as waba-01234567890123456789012345678901. (pattern: <code>.(^waba-.$)|(^arn:.:waba/[0-9a-zA-Z]+$).</code>)
phone_numberobjectThe details of your WhatsApp phone number.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_linked_whats_app_business_account_phone_numberselectid, regionRetrieve the WABA account id and phone number details of a WhatsApp business account phone number.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe unique identifier of the phone number. Phone number identifiers are formatted as phone-number-id-01234567890123456789012345678901. Use GetLinkedWhatsAppBusinessAccount to find a phone number's id.
regionstringAWS region (default: us-east-1)

SELECT examples

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

SELECT
linked_whats_app_business_account_id,
phone_number
FROM aws.socialmessaging.linked_whats_app_business_account_phone_numbers
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;