Zernio
APIFor you
Zernio
APIFor you
API Reference

Account Settings

Facebook Messenger

Get persistent menuGETSet persistent menuPUTDelete persistent menuDELETE

Instagram

Get IG ice breakersGETSet IG ice breakersPUTDelete IG ice breakersDELETE

Telegram

Get TG bot commandsGETSet TG bot commandsPUTDelete TG bot commandsDELETE

Other

Delete FB Get Started buttonDELETEDelete FB greeting textDELETEDelete FB ice breakersDELETEGet a Facebook Page's public infoGETGet FB Get Started buttonGETGet FB greeting textGETGet FB ice breakersGETSet FB Get Started buttonPUTSet FB greeting textPUTSet FB ice breakersPUTUpdate a Facebook Page's public infoPATCH
Dashboard
OverviewPlatformsAPI ReferenceResources
Account Settings

Delete persistent menu

Removes the persistent menu from this Facebook Messenger or Instagram account.


DELETE
/v1/accounts/{accountId}/messenger-menu

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

accountId*string

Response Body

application/json

application/json

import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.accountsettings.deleteMessengerMenu({  path: {    accountId: 'account_abc123',  },});console.log(data);
Empty
Was this page helpful?

Set persistent menu

Set the persistent menu for a Facebook Messenger or Instagram account. Max 3 top-level items, max 5 nested items. On Facebook, Meta only shows a persistent menu on a page that has a Get Started button, so set one first with PUT /v1/accounts/{accountId}/messenger-get-started. A postback button whose payload is `zernio:workflow:<workflowId>` starts that workflow when tapped; the workflow must be active on this account and profile.

Get IG ice breakers

Get the ice breaker configuration for an Instagram account.