Skip to main content
POST
Record a lead's SMS or voice opt-in or opt-out as a platform administrator.

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_.

Path Parameters

leadId
string
required
channel
string
required
optedIn
boolean
required

Response

OK

Reports whether Leadping may contact a recipient and identifies the active suppression when contact is blocked.

allowed
boolean

Whether outreach to the recipient is allowed for the requested channel.

organizationId
null | string

Identifier of the organization whose suppression list was checked.

recipientIdentifier
null | string

Provider or customer identifier used to match the recipient.

normalizedPhoneNumber
null | string

Phone number used for matching, normalized to a consistent format.

normalizedEmail
null | string<email>

Email address used for matching, normalized for comparison.

channel
null | string

Communication channel evaluated by the suppression check.

suppressionEntryId
null | string

Identifier of the active suppression that blocked contact, when one matched.

source
null | string

The source value on the active suppression entry that blocked this check.

suppressedAt
null | string<date-time>

The date and time the blocking suppression became active.

customerReason
null | string

Customer-safe explanation of why contact is blocked or allowed.