Skip to main content
POST
Validate sender number override

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Accepted values are Leadping user JWT access tokens and WorkOS organization API keys beginning with sk_.

Body

The outgoing number manual override request payload for the operation.

Defines the fields clients can send when working with outgoing number manual override.

fromPhoneNumberId
string
required

Sender phone number ID used for this outbound SMS or call.

selection
object
required

Selected outgoing number and selection rationale returned by Leadping.

Response

Returns the outgoing number selection response.

Describes outgoing number selection data returned by Leadping.

canSend
boolean

Indicates whether Leadping can send outbound messages using this outgoing number selection response.

setupMessage
null | string

Human-readable setup guidance shown for this outgoing number selection response.

phoneNumberId
null | string

Leadping phone number ID connected to this outgoing number selection response.

number
null | string

E.164 phone number exposed by this outgoing number selection response.

displayNumber
null | string

Human-readable phone number shown in Leadping UI and API responses.

healthStatus
null | enum<string>

Summarizes the severity of conditions affecting an organization's ability to send compliant SMS or MMS traffic.

Available options:
Not Evaluated,
Evaluating,
Healthy,
Needs Attention,
Blocked
healthLabel
null | string

Short label describing the health state for display in dashboards.

healthWarning
null | string

Warning text that explains a potential health or readiness issue.

selectionReason
null | enum<string>

Explains why Leadping selected, rejected, or substituted an outgoing caller or messaging number.

Available options:
StickyConversation,
LeadAssigned,
CampaignOrSource,
Preferred,
LocalArea,
HealthyPool,
FallbackDefault,
ManualOverride
reasonLabel
null | string

Human-readable label for the reason code on this outgoing number selection response.

wasManuallyOverridden
boolean

Indicates whether a user manually overrode Leadping's automatic number selection for this outgoing number selection response.

campaignId
null | string

Messaging campaign identifier associated with this outgoing number selection response.

sourceId
null | string

Lead source ID considered when Leadping selected the outgoing phone number.

eligibleNumbers
object[]

Phone numbers that are eligible to send the requested outbound message or call.