List campaign phone number assignments
GET
List phone numbers assigned to a 10DLC campaign. A number that was unassigned is no longer listed.
Authorization
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Path parameters
campaignIdstringrequired10DLC campaign ID.
Query parameters
limitintegerDefault50Limitsmax 100cursorstringOpaque cursor from a previous response's
nextCursor.
Responses
200List of phone number assignments.
itemsobject[]required8 properties
idstringrequiredcampaignIdstringrequiredphoneNumberIdstringrequiredstatusstringrequiredAssignment status.
pending: sent to the carrier, not confirmed yet.active: the number is on the campaign and can send.failed: the carrier refused it; seefailureReason. The number is free to be assigned again.One ofpendingactivefailedfailureReasonstringassignedAtstring<date-time>createdAtstring<date-time>requiredupdatedAtstring<date-time>required
nextCursorstring
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject
404Campaign not found.
codestringrequiredmessagestringrequireddetailsobject