Get FB persistent menu
Get the persistent menu configuration for a Facebook Messenger account.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.accountsettings.getMessengerMenu({ path: { accountId: 'account_abc123', },});console.log(data);{
"data": [
{}
]
}{
"error": "Unauthorized"
}Get X/Twitter API pricing table GET
Returns Zernio's canonical X/Twitter API pricing table. Each X action has its own Metronome product and its own rate, and Zernio passes X API costs through at exact rates with zero markup. The response is identical for every authenticated user (pricing is universal), so it is safe to cache on the client for the duration of a billing period. To compute your own per-operation spend, pair this endpoint with `GET /v1/usage-stats` — that endpoint returns `usage.xApiCallsByOperation` keyed by the same `operation` field you get here.
Set FB persistent menu PUT
Set the persistent menu for a Facebook Messenger account. Max 3 top-level items, max 5 nested items.