Evo Voice

<back to all web services

AppRegister10Dlc

Submits a registration for the current customer's 10DLC

Requires Authentication
The following routes are available for this service:
POST/portal/10dlc
"use strict";
export class AppRegister10Dlc {
    /** @param {{accountId?:string,customerId?:string,usOrCanada?:boolean,taxId?:string,taxIdValue?:string,businessName?:string,firstName?:string,lastName?:string,email?:string,country?:string,phoneNumber?:string,addressStreet1?:string,addressStreet2?:string,addressCity?:string,addressState?:string,addressPostalCode?:string,description?:string,acceptTerms?:boolean,representative?:string,websiteUrl?:string,businessIndustry?:string,businessRegistrationNumber?:string,businessRegistrationIDType?:string,businessType?:string,businesTitle?:string,brandName?:string,brandType?:string,companyType?:string,politicalOrganization?:string,mobilePhoneNumber?:string,stockExchange?:string,stockTicker?:string,campaignVerifyToken?:string,campaign?:boolean,campaignDescription?:string,sampleMessage1?:string,sampleMessage2?:string,sampleMessage3?:string,sampleMessage4?:string,sampleMessage5?:string,consentMessage?:string,optKeywords?:string,optMessage?:string,campaignUseCases?:string,embeddedLinks?:boolean,includePhonenumbers?:boolean,loanArrangement?:boolean,vertical?:string,jobPosition?:string,ctia?:boolean,businessRegions?:string[],brandMobilePhoneNumber?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    accountId;
    /** @type {string} */
    customerId;
    /** @type {boolean} */
    usOrCanada;
    /** @type {string} */
    taxId;
    /** @type {string} */
    taxIdValue;
    /** @type {string} */
    businessName;
    /** @type {string} */
    firstName;
    /** @type {string} */
    lastName;
    /** @type {string} */
    email;
    /** @type {string} */
    country;
    /** @type {string} */
    phoneNumber;
    /** @type {string} */
    addressStreet1;
    /** @type {string} */
    addressStreet2;
    /** @type {string} */
    addressCity;
    /** @type {string} */
    addressState;
    /** @type {string} */
    addressPostalCode;
    /** @type {string} */
    description;
    /** @type {boolean} */
    acceptTerms;
    /** @type {string} */
    representative;
    /** @type {string} */
    websiteUrl;
    /** @type {string} */
    businessIndustry;
    /** @type {string} */
    businessRegistrationNumber;
    /** @type {string} */
    businessRegistrationIDType;
    /** @type {string} */
    businessType;
    /** @type {string} */
    businesTitle;
    /** @type {string} */
    brandName;
    /** @type {string} */
    brandType;
    /** @type {string} */
    companyType;
    /** @type {string} */
    politicalOrganization;
    /** @type {string} */
    mobilePhoneNumber;
    /** @type {string} */
    stockExchange;
    /** @type {string} */
    stockTicker;
    /** @type {string} */
    campaignVerifyToken;
    /** @type {boolean} */
    campaign;
    /** @type {string} */
    campaignDescription;
    /** @type {string} */
    sampleMessage1;
    /** @type {string} */
    sampleMessage2;
    /** @type {string} */
    sampleMessage3;
    /** @type {string} */
    sampleMessage4;
    /** @type {string} */
    sampleMessage5;
    /** @type {string} */
    consentMessage;
    /** @type {string} */
    optKeywords;
    /** @type {string} */
    optMessage;
    /** @type {string} */
    campaignUseCases;
    /** @type {boolean} */
    embeddedLinks;
    /** @type {boolean} */
    includePhonenumbers;
    /** @type {boolean} */
    loanArrangement;
    /** @type {string} */
    vertical;
    /** @type {string} */
    jobPosition;
    /** @type {boolean} */
    ctia;
    /** @type {string[]} */
    businessRegions;
    /** @type {string} */
    brandMobilePhoneNumber;
}

JavaScript AppRegister10Dlc DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /portal/10dlc HTTP/1.1 
Host: team.evovoice.io 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	accountId: String,
	customerId: String,
	usOrCanada: False,
	taxId: String,
	taxIdValue: String,
	businessName: String,
	firstName: String,
	lastName: String,
	email: String,
	country: String,
	phoneNumber: String,
	addressStreet1: String,
	addressStreet2: String,
	addressCity: String,
	addressState: String,
	addressPostalCode: String,
	description: String,
	acceptTerms: False,
	representative: String,
	websiteUrl: String,
	businessIndustry: String,
	businessRegistrationNumber: String,
	businessRegistrationIDType: String,
	businessType: String,
	businesTitle: String,
	brandName: String,
	brandType: String,
	companyType: String,
	politicalOrganization: String,
	mobilePhoneNumber: String,
	stockExchange: String,
	stockTicker: String,
	campaignVerifyToken: String,
	campaign: False,
	campaignDescription: String,
	sampleMessage1: String,
	sampleMessage2: String,
	sampleMessage3: String,
	sampleMessage4: String,
	sampleMessage5: String,
	consentMessage: String,
	optKeywords: String,
	optMessage: String,
	campaignUseCases: String,
	embeddedLinks: False,
	includePhonenumbers: False,
	loanArrangement: False,
	vertical: String,
	jobPosition: String,
	ctia: False,
	businessRegions: 
	[
		String
	],
	brandMobilePhoneNumber: String
}