Suppressions

Record a lead's SMS or voice opt-in or opt-out as a platform administrator.

Changed on

Records the opt-in or opt-out for the specified lead and channel.

post/suppressions/admin/leads/{leadId}/{channel}/{optedIn}

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Path parameters

leadId, string required

The lead identifier.

channel, string required

The consent channel, SMS or voice.

optedIn, boolean required

Whether the lead opted in to the specified channel.

Response

The suppression status after recording the consent decision.

SuppressionCheckResult required

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, string nullable

Identifier of the organization whose suppression list was checked.

recipientIdentifier, string nullable

Provider or customer identifier used to match the recipient.

normalizedPhoneNumber, string nullable

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

normalizedEmail, string email nullable

Email address used for matching, normalized for comparison.

channel, string nullable

Communication channel evaluated by the suppression check.

suppressionEntryId, string nullable

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

source, string nullable

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

suppressedAt, string date-time nullable

The date and time the blocking suppression became active.

customerReason, string nullable

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

Changes

    • breaking

      removed the media type text/json for the response with the status

    • breaking

      removed the media type text/plain for the response with the status

    • info

      added the non-success response with the status