Get Apple Messages for Business channel settings
/v1/amb/business-accounts/{business_account_id}/channel-settingsconst result = await bird.amb.businessAccounts.settings.get(
"abz_01krdgeqcxet5s7t44vh8rt9mg",
);
console.log(result);result = client.amb.business_accounts.settings.get('abz_01krdgeqcxet5s7t44vh8rt9mg')
print(result)result, err := client.Amb.BusinessAccounts.Settings.Get(ctx, "abz_01krdgeqcxet5s7t44vh8rt9mg")
if err != nil {
log.Fatal(err)
}
fmt.Println(result)$bird->amb->businessAccounts->settings->get('abz_01krdgeqcxet5s7t44vh8rt9mg');bird amb business-accounts settings get <business-account-id>curl -X GET "https://us1.platform.bird.com/v1/amb/business-accounts/{business_account_id}/channel-settings" \
-H "Authorization: Bearer $TOKEN"{
"entry_points": [
{
"id": "website-footer",
"group": "support",
"intent": "general-inquiry",
"body": "Hi, I have a question about my order."
}
],
"default_locale": "en-US",
"brand_name": "Acme Retail",
"logo_asset_id": "ast_01krdgeqcxet5s7t44vh8rt9mg"
}
Returns the channel settings for your workspace's Apple Messages for Business record: its entry points, default locale, and the brand name and logo shown on the landing page customers use to connect it.
Paramètres
business_account_idstringID of the Apple Messages for Business record, as returned by the business list.
Contenu de la réponse
entry_pointsThe entry points customers can use to open a conversation with this business, each matched against the group and intent an inbound message reports.
default_localeThe locale used for this business when a conversation reports none of its own, in canonical BCP-47 form. Null until you set one or after you clear it. Bird converts a configured default to Apple's locale form when sending a message without a conversation locale.
brand_nameThe brand name shown on the Bird-hosted landing page customers use to connect this business.
logo_asset_idThe business's logo, as an asset in your media library. Null until one is set, either from Apple's own redirect or from a later change here.
Ressources associées
Poursuivez avec la documentation, les guides et les exemples sur ce sujet.