Zernio
Zernio
API Reference

Branded Calling

List pre-approved call reasonsGETList registered businessesGETList caller identitiesGETList the numbers on a caller identityGETRegister a business for Branded CallingPOSTCreate a caller identityPOSTGet a registered businessGETGet a caller identityGETEdit or resubmit a caller identityPATCHDelete a registered businessDELETEDelete a caller identityDELETEAttach numbers to a verified identityPOSTConfirm the authorizer's codePOSTDetach numbers from an identityDELETEDry-run a caller identity before creating itPOSTResend the authorizer's codePOSTCreate a caller identity share linkPOST
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Branded Calling

Dry-run a caller identity before creating it

Validates the exact body POST /v1/branded-calling/identities takes and runs the same deterministic lints the review runs on it without creating anything, with the same codes and fields the queued identity's findings carry. A block finding is what the review would bounce (two references sharing a phone, a reference inside the business, an invalid timezone); a warn finding slows vetting (a display name that does not read as the business, a call reason outside the carrier catalogue, a public-mailbox authorizer, a logo that does not answer). ok is true when there is no block.


POST
/v1/branded-calling/identities/preflight

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Same body as createBrandedCallingIdentity.

Response Body

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.brandedcalling.preflightBrandedCallingIdentity({  body: {    enterpriseId: 'enterprise_abc123',    displayName: 'Example',    callReasons: [      'string',    ],    authorizer: {      name: 'Example',      email: 'user@example.com',    },    references: {      business: [        {          fullName: 'Example',          phoneNumber: 'string',          email: 'user@example.com',          timezone: 'string',        },      ],      financial: {        fullName: 'Example',        phoneNumber: 'string',        email: 'user@example.com',        timezone: 'string',      },    },  },});console.log(data);
{  "ok": true,  "findings": [    {      "code": "display-name-mismatch",      "severity": "block",      "field": "string",      "message": "string"    }  ]}
Was this page helpful?

Detach numbers from an identity

Deregisters the numbers at the carrier and frees them for another identity. Up to 100 per call.

Resend the authorizer's code

Emails the authorizer a fresh 6-digit code (the previous one stops working). Only while the identity is `pending_email_verification`.

enterpriseId*string
displayName*string
Length1 <= length <= 35
callReasons*array<>
Items1 <= items <= 10
logoUrl?string
authorizer*
references*