Settings
Business profile
These methods call the Meta Graph API and work with or without the Kapso proxy.
Manage WhatsApp phone number settings and business profile
// Read settings
const s = await client.phoneNumbers.settings.get({ phoneNumberId: '123' });
// Update settings
await client.phoneNumbers.settings.update({
phoneNumberId: '123',
fallbackLanguage: 'en_US'
});
// Read profile
const p = await client.phoneNumbers.businessProfile.get({ phoneNumberId: '123' });
// Update profile
await client.phoneNumbers.businessProfile.update({
phoneNumberId: '123',
about: 'My business',
email: 'hello@example.com',
websites: ['https://example.com']
});
Was this page helpful?