OverviewProductsPlatformsAPI ReferenceResources
Branded Calling

Create a caller identity

POSThttps://zernio.com/api/v1/branded-calling/identities

Creates a caller identity: what the callee sees (display name, logo and call reasons). It is backed by a registered business and three references the carrier vetting team phones.

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

enterpriseIdstringRequired

A business from POST /v1/branded-calling/enterprises.

displayNamestring, max 35Required

Shown on the callee's screen. No emoji.

callReasonsarray of string, max 64Required

1 to 10 reasons you call, each up to 64 characters. Pick from GET /v1/branded-calling/call-reasons to skip manual vetting.

authorizerobjectRequired
namestring, max 255Required

A real person at the business who authorizes the registration.

emailstring (email)Required

The carrier emails a 6-digit code here once the identity passes review.

referencesBrandedCallingReferencesRequired
businessarray of BrandedCallingReferenceRequired
financialBrandedCallingReferenceRequired

A person the carrier vetting team phones to confirm the business. Business references are senior contacts at a vendor, partner or client; the financial reference is a CPA or a bank contact. Calls are placed in the reference's local 8am-9pm window.

Optional parameters1 field
logoUrlstring

HTTPS URL of a PNG, JPEG, WebP or SVG logo. Zernio converts it to the 256x256 BMP the carriers require and hosts it.

Headers

Optional
Idempotency-Keystring, max 255

Optional client-generated unique key (e.g. a UUID) that makes retries safe.

  • Same key + same body: replays the original response.
  • Same key + different body: 422.
  • Key still processing: 409.

A request cut off mid-handler (e.g. by a function timeout) can leave its key in progress, answering 409 until the key expires after 24 hours.

On the Ads create, boost and duplicate endpoints, a same-body retry runs again once the cut-off request started more than 15 minutes ago.

Responses

Successยท the request worked

Errorsยท the request failed

How it behaves

Lifecycle

  1. It starts in Zernio review (requested).
  2. Once approved, the carrier emails the authorizer a 6-digit code.
  3. Confirm the code with the verify-email endpoint, and the identity goes into carrier vetting on its own.

Track it with GET or the branded_calling.identity.status_updated webhook.

Billing

  • $100 per identity per month while it is verified.
  • The first month is charged when the carrier verifies the identity, never when it is filed. Nothing is charged while it is in our review or carrier vetting, or if it is rejected.
  • An edit that sends a verified identity back to vetting pauses the fee until it is verified again.
  • Branded calls add $0.10 each, counted on every outbound call from a verified branded number to a US destination (whether or not the callee's carrier displayed the branding).

The surcharge shows as brandedCallUSD on the call's billing and in GET /v1/voice/calls/estimate when you pass from.

Before you file

Run POST /v1/branded-calling/identities/preflight with the same body first to catch what the review would bounce.

Send an Idempotency-Key so a retry replays the original response instead of creating a second identity.

POST/v1/branded-calling/identities
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.brandedcalling.createBrandedCallingIdentity({  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);
{  "id": "string",  "enterpriseId": "string",  "displayName": "string",  "callReasons": [    "string"  ],  "callReasonsPreApproved": true,  "logoUrl": "string",  "authorizer": {    "name": "string",    "email": "user@example.com"  },  "references": {    "business": [      {        "fullName": "string",        "jobTitle": "string",        "organization": "string",        "relationshipToRegistrant": "string",        "phoneNumber": "string",        "email": "user@example.com",        "timezone": "string"      },      {        "fullName": "string",        "jobTitle": "string",        "organization": "string",        "relationshipToRegistrant": "string",        "phoneNumber": "string",        "email": "user@example.com",        "timezone": "string"      }    ],    "financial": {      "fullName": "string",      "jobTitle": "string",      "organization": "string",      "relationshipToRegistrant": "string",      "phoneNumber": "string",      "email": "user@example.com",      "timezone": "string"    }  },  "status": "requested",  "rejectionReasons": [    {      "code": "string",      "title": "string",      "detail": "string",      "message": "string"    }  ],  "reviewNote": "string",  "reviewRequest": {    "id": "string",    "intro": "string",    "points": [      {        "id": "string",        "title": "string",        "detail": "string",        "answer": "text"      }    ]  },  "emailVerifiedAt": "2019-08-24T14:15:22Z",  "submittedAt": "2019-08-24T14:15:22Z",  "verifiedAt": "2019-08-24T14:15:22Z",  "expiringAt": "2019-08-24T14:15:22Z",  "numbers": [    {      "phoneNumberId": "string",      "phoneNumber": "string",      "status": "submitted",      "rejectionReason": {        "code": "string",        "title": "string",        "detail": "string",        "message": "string"      },      "verifiedAt": "2019-08-24T14:15:22Z",      "addedAt": "2019-08-24T14:15:22Z"    }  ],  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}
OpenAPI specification
Was this page helpful?