OverviewProductsPlatformsAPI ReferenceResources
Branded Calling

Edit or resubmit a caller identity

PATCHhttps://zernio.com/api/v1/branded-calling/identities/{id}

Allowed while the identity is requested, changes_requested or rejected. Answering a change request (send reviewAnswers keyed by point id, and any edited fields) puts it back in review. On a carrier rejection the edits are applied at the carrier and the identity is resubmitted straight away.

Authentication

AuthorizationBearer tokenRequired

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

Path parameters

idstringRequired

Body

application/json
Optional parameters7 fields
displayNamestring, max 35

Shown on the callee's screen. No emoji.

callReasonsarray of string, max 64

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

logoUrlstring

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

authorizerobject
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.

referencesBrandedCallingReferences
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.

reviewAnswersobject

One entry per point id of the open reviewRequest. A text point takes text; a link point takes url; file and link_or_file points take url set to the URL of a file you uploaded first (POST /v1/media/presign). A point id that is not on the open request is a 422.

reviewNotestring, max 4000

Responses

Success· the request worked

Errors· the request failed

PATCH/v1/branded-calling/identities/{id}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.brandedcalling.updateBrandedCallingIdentity({  path: {    id: 'abc123',  },  body: {    displayName: 'Example',    callReasons: [      'string',    ],    logoUrl: 'https://example.com',  },});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?