Zernio
Zernio
API Reference

Account Settings

Facebook Messenger

Get FB persistent menuGETSet FB persistent menuPUTDelete FB 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 buttonDELETEGet FB Get Started buttonGETSet FB Get Started buttonPUT
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Account Settings

Get FB Get Started button

Get the Get Started button payload for a Facebook Messenger account. data is null when the page has none.


GET
/v1/accounts/{accountId}/messenger-get-started

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

application/json

application/json

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

Delete FB Get Started button

Remove the Get Started button. Meta refuses while a persistent menu is set, so delete the menu first.

Set FB Get Started button

Set the Get Started button shown on a Facebook page's Messenger welcome screen. Meta requires it before a persistent menu can be set. Tapping it sends a postback with `payload`, which arrives as a `message.received` webhook carrying it in `metadata.postbackPayload`. Use `zernio:workflow:<workflowId>` to start a workflow on the tap; the workflow must be active on this account and profile.