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

Update a Facebook Page's public info

Updates the public info of the Page selected on a facebook account. Only the fields in the body are sent to Meta, every other field keeps its value. Send an empty string to clear a text field. Unknown fields are rejected with a 400.

Returns the Page info read back from Meta after the update. Meta needs the pages_manage_metadata permission and a Page role that can edit the Page: without them Meta's refusal comes back as platform_api_error.


PATCH
/v1/accounts/{accountId}/facebook-page-info

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

The ID of a connected Facebook account.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Properties1 <= properties

Response Body

application/json

application/json

application/json

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.updateFacebookPageInfo({  path: {    accountId: 'account_abc123',  },  body: {    about: 'string',    description: 'Hello, world!',    website: 'string',  },});console.log(data);
{  "about": "string",  "description": "string",  "website": "string",  "phone": "string",  "emails": [    "string"  ],  "hours": {    "property1": "string",    "property2": "string"  }}
Was this page helpful?

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.

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.

about?string

Short description, shown as Description in the Page's Edit Page Info.

Lengthlength <= 100
description?string

Longer text, shown as Additional Information.

website?string

URL of the Page's website.

phone?string
emails?array<>

Replaces every email listed on the Page.

hours?

Replaces the opening hours. Keys are {day}_{slot}_{open|close} with day mon to sun and slot 1 or 2, values are 24h HH:MM times.