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.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
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.setMessengerGetStarted({ path: { accountId: 'account_abc123', }, body: { payload: 'string', },});console.log(data);{ "success": true}Get FB Get Started button
Get the Get Started button payload for a Facebook Messenger account. `data` is null when the page has none.
List groups
Returns all account groups visible to the authenticated user. Groups can contain accounts from multiple profiles. For API keys scoped to specific profiles, only groups whose accounts all live in allowed profiles are returned.