account settings
Set FB persistent menu
Set the persistent menu for a Facebook Messenger account. Max 3 top-level items, max 5 nested items.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
accountIdstring
persistent_menu
Persistent menu configuration array (Meta format)
Response Body
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.accountsettings.setMessengerMenu({ path: { accountId: 'account_abc123', }, body: { persistent_menu: [ {}, ], },});console.log(data);Empty
Empty
{
"error": "Unauthorized"
}