Zernio
Zernio
API Reference

Account Groups

List groupsGETCreate groupPOSTUpdate groupPUTDelete groupDELETE
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Account Groups

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.


GET
/v1/account-groups

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Response Body

application/json

application/json

{  "groups": [    {      "_id": "6507a1b2c3d4e5f6a7b8c9d0",      "name": "Marketing Accounts",      "accountIds": [        "64e1f0a9e2b5af0012ab34cd",        "64e1f0a9e2b5af0012ab34ce"      ]    },    {      "_id": "6507a1b2c3d4e5f6a7b8c9d1",      "name": "Personal Brand",      "accountIds": [        "64e1f0a9e2b5af0012ab34cf"      ]    }  ]}
Was this page helpful?

Delete TG bot commands

Clears all bot commands configured for a Telegram bot account.

Create group

Creates a new account group with a name and a list of account IDs. Accounts can belong to different profiles; the caller must have access to every account's profile. Group names must be unique per user.