Users

Update current user compliance settings

Changed on

Updates current-user compliance settings used for messaging eligibility, billing readiness, and organization account setup.

put/users/compliance

Request

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

Request body

ComplianceUpdateRequest required

Defines the input used for compliance update.

compliance, UserCompliance nullable

Describes user compliance data used in Leadping API requests and responses.

source, string nullable

Source for this compliance update.

Response

Returns the user response.

UserResponse required

Describes user data returned by Leadping.

adminDemoPreferences, AdminDemoPreferences nullable

Controls demo presentation for an individual platform admin.

isDemo, boolean

Whether this record belongs to demo data.

email, string email

The email address associated with this user.

firstName, string nullable

First name for this user.

lastName, string nullable

Last name of the Leadping user.

phone, string nullable

The phone number associated with this user.

timeZoneId, string nullable

IANA time zone identifier used when displaying dates and times for this user.

billingPlan, 'Annual' | 'Monthly' nullable

Identifies the Leadping subscription plan that determines organization features, allowances, and billing behavior.

subscriptionStatus, 'Pending' | 'Active' | 'Overdue' | 'Canceled' nullable

Describes an organization's billing subscription lifecycle, including trial, active, delinquent, canceled, and expired states.

billingState, OrganizationBillingState nullable

Customer-safe billing state for a Leadping organization.

roles, string[] nullable

The roles included with this user.

currentOrganization, IdNamePair nullable

User summary connected to this automation configuration response.

compliance, UserCompliance nullable

Describes user compliance data used in Leadping API requests and responses.

notificationPreferences, UserNotificationPreferences nullable

Describes user notification preferences data used in Leadping API requests and responses.

mobileDevicePreferences, MobileDevicePreferences[] nullable

The Leadping mobile device preferences for this user.

lastLoggedInAt, string date-time nullable

The date and time when this user last completed the Leadping sign-in flow.

lastActiveAt, string date-time nullable

UTC timestamp of the user's most recently recorded activity, when available.

personalDataDeletionRequestedAt, string date-time nullable

UTC timestamp for personal data deletion requested at on this user.

personalDataDeletedAt, string date-time nullable

UTC timestamp for personal data deleted at on this user.

personalDataDeletionStatus, string nullable

The current personal data deletion status for this user.

personalDataDeletionReason, string nullable

The human-readable personal data deletion reason explaining this user.

name, string
id, string
createdAt, string date-time
modifiedAt, string date-time nullable

Changes

    • info

      added the optional property allOf[#/components/schemas/UserResponse]/notificationPreferences/allOf[#/components/schemas/UserNotificationPreferences]/incomingMessageSoundEnabled to the response with the status

    • info

      added the optional property allOf[#/components/schemas/UserResponse]/notificationPreferences/allOf[#/components/schemas/UserNotificationPreferences]/walletDepletedSmsEnabled to the response with the status