Edit or resubmit a caller identity
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.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
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.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"}