OverviewProductsPlatformsAPI ReferenceResources
Broadcasts

Create broadcast draft

POSThttps://zernio.com/api/v1/broadcasts

Create a broadcast in draft status. Add recipients and then send or schedule it.

Authentication

AuthorizationBearer tokenRequired

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

Body

application/json

What every request needs

profileIdstringRequired
accountIdstringRequired
platformstringRequiredOne of instagram | facebook | telegram | twitter | bluesky | reddit | whatsapp | sms | slack | imessage
namestringRequired
Optional parameters4 fields
descriptionstring
messageobject
templateobject

WhatsApp template (required when platform is whatsapp)

segmentFiltersobject

Responses

Success· the request worked

Errors· the request failed

POST/v1/broadcasts
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.broadcasts.createBroadcast({  body: {    profileId: 'profile_abc123',    accountId: 'account_abc123',    platform: 'instagram',    name: 'Example',  },});console.log(data);
{  "success": true,  "broadcast": {    "id": "string",    "name": "string",    "description": "string",    "platform": "string",    "accountId": "string",    "status": "string",    "createdAt": "2019-08-24T14:15:22Z"  }}
OpenAPI specification
Was this page helpful?