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 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.


PUT
/v1/accounts/{accountId}/messenger-ice-breakers

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.setMessengerIceBreakers({  path: {    accountId: 'account_abc123',  },  body: {    ice_breakers: [      {        locale: 'string',        call_to_actions: [          {            question: 'string',            payload: 'string',          },        ],      },    ],  },});console.log(data);
{  "success": true}
Was this page helpful?

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.

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.

ice_breakers*array<>

One entry per locale; one must use locale default.

Items1 <= items