Get the 10DLC campaign registration for the authenticated account. Returns null when no brand registration exists yet.
const url = 'https://api.pingram.io/registrations/us/10dlc/campaign';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.pingram.io/registrations/us/10dlc/campaign \ --header 'Authorization: Bearer <token>'Authorizations
Responses
200
Successful response
Public response type for 10DLC campaign registration
object
Pingram-side 10DLC registration workflow status (brand or campaign).
- not_started: no customer submission yet
- pending_review: customer submitted; Pingram has not submitted to carriers
- in_progress: submitted for carrier review
- approved | rejected | info_needed: review outcome
Summary of what this campaign sends and why, including audience and typical message content. Required before carrier submission.
Example SMS that represents actual campaign traffic. Required before carrier submission. Should match the use case and typically identify the brand and include STOP/HELP language.
Second example SMS. Required before carrier submission. Required for MARKETING and MIXED use cases.
Optional third example SMS.
Optional fourth example SMS.
How recipients opt in (for example website form, checkout, or keyword). Describe the call-to-action and where consent is collected. Required before carrier submission.
Extra opt-in keywords as a comma-separated list. START is always included.
Auto-reply sent when a recipient opts in. Required before carrier submission. Should confirm the subscription, mention message frequency, and include STOP and HELP instructions.
Extra opt-out keywords as a comma-separated list. STOP is always included.
Auto-reply sent when a recipient opts out. Required before carrier submission. Should confirm they will receive no further messages.
Extra help keywords as a comma-separated list. HELP is always included.
Auto-reply sent when a recipient texts a help keyword. Required before carrier submission. Should include a support contact (email and/or phone).
Whether campaign messages include URLs.
Sample URL that appears in messages. Provide when campaignEmbeddedLink is true.
Whether campaign messages include phone numbers.
Whether campaign content is age-restricted (18+).
Whether the campaign relates to direct lending or loan products.
Public URL of the privacy policy that covers this SMS program.
Public URL of the terms and conditions that cover this SMS program.
10DLC campaign use case submitted to carriers. Required before carrier submission. One of 2FA, ACCOUNT_NOTIFICATION, CUSTOMER_CARE, DELIVERY_NOTIFICATION, FRAUD_ALERT, MARKETING, MIXED, POLLING_VOTING, PUBLIC_SERVICE_ANNOUNCEMENT, or SECURITY_ALERT. For MIXED, append comma-separated sub-use cases after MIXED (sub-use cases cannot include MIXED), for example MIXED,2FA,ACCOUNT_NOTIFICATION.
Example
{ "campaignStatus": "not_started"}400
Bad Request - validation errors, invalid input
Standard error response for API errors.
object
Unique tracking ID for the request.
Structured error details for API error responses.
object
Machine-readable error code.
Human-readable error message.
Actionable hint for fixing the error.
Examplegenerated
{ "trackingId": "example", "error": { "code": "example", "message": "example", "fix": "example" }}401
Unauthorized
402
Payment Required - usage limits exceeded
Standard error response for API errors.
object
Unique tracking ID for the request.
Structured error details for API error responses.
object
Machine-readable error code.
Human-readable error message.
Actionable hint for fixing the error.
Examplegenerated
{ "trackingId": "example", "error": { "code": "example", "message": "example", "fix": "example" }}500
Internal Server Error
502
Bad Gateway - provider error
Standard error response for API errors.
object
Unique tracking ID for the request.
Structured error details for API error responses.
object
Machine-readable error code.
Human-readable error message.
Actionable hint for fixing the error.
Examplegenerated
{ "trackingId": "example", "error": { "code": "example", "message": "example", "fix": "example" }}