Zernio
Zernio
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 FB Get Started buttonGETGet FB greeting textGETGet FB ice breakersGETSet FB Get Started buttonPUTSet FB greeting textPUTSet FB ice breakersPUT
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Account Settings

Set FB greeting text

Set the greeting text on a Facebook page's Messenger welcome screen (Meta's greeting Messenger Profile field). One entry must use locale default; add more for other locales. Meta personalises {{user_first_name}}, {{user_last_name}} and {{user_full_name}}. Replaces every locale already set.


PUT
/v1/accounts/{accountId}/messenger-greeting

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

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.setMessengerGreeting({  path: {    accountId: 'account_abc123',  },  body: {    greeting: [      {        locale: 'string',        text: 'Hello, world!',      },    ],  },});console.log(data);
{  "success": true}
Was this page helpful?

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.

Set FB ice breakers

Set up to 4 ice breakers per locale for a Facebook page (Meta's `ice_breakers` Messenger Profile field). One entry must use locale `default`. A tap sends a postback with the question's `payload`, which arrives as `message.received` with `metadata.postbackPayload`; use `zernio:workflow:<workflowId>` to start a workflow (it must be active on this account and profile). Replaces every locale already set.

greeting*array<>

One entry per locale; one must use locale default.

Items1 <= items