CNAM Per Dip API Setup Instructions

Follow

Molly Katolas

Updated

Overview

Bandwidth’s Caller Name (CNAM) service is a low-cost per-query service that provides the Caller Name on VoIP calls in the US and Canada. With this service, the CNAM database is queried using a simple HTTPS GET Request. Once the request is made, the calling name is returned to the customer application or dial plan. The CNAM data is managed by the phone company who provides the phone numbers to its customers.

CNAM Setup Instructions via HTTPS

Query Format

Querystring Parameters

Notes

Examples

 

CNAM Setup Instructions via HTTPS

The simplest method of accessing the CNAM service is via an HTTPS GET request. The query information will be passed in the GET, and the entire response will be the CNAM data. To ensure the highest performance service, it is suggested to use an HTTP library that supports keep-alives, as well as HTTP pipelining.

Bandwidth’s CNAM service will authenticate based on two factors:

  1. The CompanyID passed will be checked to ensure CNAM service is enabled.
  2. A password will be validated.

 

Query Format

https://cnam.dashcs.com/?companyId=BLANK&password=BLANK&number=BLANK

 

Querystring Parameters 

Query Type

Required or Optional

Type

Value / Notes

CompanyId

Required

Integer

Assigned during implementation / on-boarding

Password

Optional

String

Assigned during implementation / on-boarding.

Number

Required

11-digit TN

(1+10 digit TN) that is used to query CNAM information

DNIS

Optional

11-digit TN

(1+10 digit TN) If supplied, detailed billing reports per caller number can be provided.

Reference

Optional

20-character max, string

The reference parameter can be used to differentiate queries for billing purposes. For instance, if billing reports were desired on a per- reseller basis, the reseller code could be sent in the reference field.

Test (shown on next page)

Optional

Boolean

If a value is supplied for the querystring parameter “test”, the query will be considered a test, and a random name will be returned. These queries are not billed.

 

Notes

Telephone numbers can be supplied as full E.164 numbers (starting with the country code). Only NANPA numbers are supported, so 10-digit numbers will automatically be prefixed with a 1.

 

 
 

Article is closed for comments.