---
title: "Update current user compliance settings"
method: PUT
path: "/users/compliance"
tags: ["Users"]
---

# Update current user compliance settings

`PUT /users/compliance`

## Request

- Base URL: `https://api.leadping.ai`
- URL: `https://api.leadping.ai/users/compliance`
- Auth: HTTP bearer

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

## Request body

- ComplianceUpdateRequest: Defines the input used for compliance update.
  - `compliance` UserCompliance, nullable: Describes user compliance data used in Leadping API requests and responses.
    - `acceptedTerms` boolean: Whether the user accepted terms for this user compliance.
    - `acceptedToSubscription` boolean: Whether the user accepted subscription for this user compliance.
    - `acceptedSms` boolean: Whether the user accepted SMS for this user compliance.
    - `acceptedBaa` boolean: Whether the user accepted BAA for this user compliance.
    - `acceptedEmail` boolean: Whether the user accepted email for this user compliance.
    - `consentCertificates` LeadpingConsentCertificate[], nullable: The Leadping Consent certificates included with this user compliance.
      - `id` string, nullable: Unique Leadping identifier for this Leadping Consent certificate.
      - `source` string, nullable: Source for this Leadping Consent certificate.
      - `createdAt` string, date-time, nullable: UTC timestamp for created at on this Leadping Consent certificate.
  - `source` string, nullable: Source for this compliance update.

## Response `200`

Returns the user response.

- UserResponse: Describes user data returned by Leadping.
  - `adminDemoPreferences` AdminDemoPreferences, nullable: Controls demo presentation for an individual platform admin.
    - `showDemoData` boolean: Whether demo records are included in the administrator's views.
    - `showDemoMarkers` boolean: Whether demo records display a demo indicator.
  - `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.
    - `hasStripeCustomer` boolean: Indicates whether the organization has a Stripe customer account.
    - `hasPaymentMethod` boolean: Indicates whether the organization has a saved default payment method.
    - `phoneNumberQuantity` integer, nullable: Number of phone numbers included in the organization's subscription plan.
    - `numberHealthQuantity` integer, nullable: Number of billable phone numbers with Number Health enabled.
    - `organizationMemberQuantity` integer, nullable: Number of user licenses included in the organization's subscription plan.
    - `organizationMemberAssignedQuantity` integer, nullable: Number of user licenses currently assigned to organization members.
    - `pendingBillingPlan` 'Annual' | 'Monthly', nullable: Identifies the Leadping subscription plan that determines organization features, allowances, and billing behavior.
    - `billingPlanChangeEffectiveAt` string, date-time, nullable: Date and time when the scheduled billing plan change takes effect.
    - `planRenewalAt` string, date-time, nullable: Current plan renewal date.
    - `planPeriodStartAt` string, date-time, nullable: Start of the current plan billing period.
    - `cancelAt` string, date-time, nullable: UTC timestamp when the active subscription is scheduled to cancel.
    - `dunning` OrganizationDunningInfo, nullable: Dunning state recorded after a failed recurring payment.
      - `stage` string, nullable: Current stage for this Leadping organization dunning info.
      - `paymentFailedAt` string, date-time, nullable: Date and time when this Leadping organization dunning info was payment failed.
      - `lastFailedInvoiceStatus` string, nullable: Current last failed invoice status for this Leadping organization dunning info.
      - `retryAttemptCount` integer: Total number of retry attempt records represented by this Leadping organization dunning info.
      - `nextRetryAt` string, date-time, nullable: Date and time when the next retry is scheduled.
      - `gracePeriodEndsAt` string, date-time, nullable: Date and time when this Leadping organization dunning info was grace period ends.
      - `outboundRestrictedAt` string, date-time, nullable: Date and time when this Leadping organization dunning info was outbound restricted.
      - `outboundSuspendedAt` string, date-time, nullable: Date and time when this Leadping organization dunning info was outbound suspended.
      - `finalCancellationAt` string, date-time, nullable: Date and time when this Leadping organization dunning info was final cancellation.
      - `lastUpdatedAt` string, date-time, nullable: Date and time when this Leadping organization dunning info was last updated.
    - `lastSubscriptionEventAt` string, date-time, nullable: UTC timestamp when Leadping last processed a subscription event for the organization.
    - `lastPaymentMethodEventAt` string, date-time, nullable: UTC timestamp when Leadping last processed a payment-method event for the organization.
  - `roles` string[], nullable: The roles included with this user.
  - `currentOrganization` IdNamePair, nullable: User summary connected to this automation configuration response.
    - `id` string, required
    - `name` string, required
  - `compliance` UserCompliance, nullable: Describes user compliance data used in Leadping API requests and responses.
    - `acceptedTerms` boolean: Whether the user accepted terms for this user compliance.
    - `acceptedToSubscription` boolean: Whether the user accepted subscription for this user compliance.
    - `acceptedSms` boolean: Whether the user accepted SMS for this user compliance.
    - `acceptedBaa` boolean: Whether the user accepted BAA for this user compliance.
    - `acceptedEmail` boolean: Whether the user accepted email for this user compliance.
    - `consentCertificates` LeadpingConsentCertificate[], nullable: The Leadping Consent certificates included with this user compliance.
      - `id` string, nullable: Unique Leadping identifier for this Leadping Consent certificate.
      - `source` string, nullable: Source for this Leadping Consent certificate.
      - `createdAt` string, date-time, nullable: UTC timestamp for created at on this Leadping Consent certificate.
  - `notificationPreferences` UserNotificationPreferences, nullable: Describes user notification preferences data used in Leadping API requests and responses.
    - `incomingMessageSoundEnabled` boolean: Play a sound in the Portal when an incoming text message arrives.
    - `positiveSentimentEnabled` boolean: Send push alerts when a lead's first text reply has positive sentiment.
    - `positiveSentimentEmailEnabled` boolean: Email alerts when a lead's first text reply has positive sentiment.
    - `positiveSentimentSmsEnabled` boolean: Text alerts for positive first replies, subject to notification SMS consent.
    - `appointmentReminderInAppEnabled` boolean: Show callback reminder dialogs in the Portal.
    - `appointmentReminderEnabled` boolean: Send push notifications for due callback appointments.
    - `appointmentReminderEmailEnabled` boolean: Email the assigned agent when a callback is due.
    - `appointmentReminderSmsEnabled` boolean: Text the assigned agent when a callback is due, subject to SMS consent.
    - `quietHoursEnabled` boolean: Whether notification delivery respects the user's daily quiet hours.
    - `quietHoursQueueEnabled` boolean: Queue notifications until quiet hours end; when false, skip their external delivery.
    - `quietHoursStart` string, time: The inclusive local start of daily quiet hours.
    - `quietHoursEnd` string, time: The exclusive local end of daily quiet hours.
    - `quietHoursTimeZoneId` string, nullable: The time zone used for quiet hours, including daylight saving changes.
    - `accountSmsAlertsEnabled` boolean
    - `smsConsentOptedIn` boolean, nullable: Whether the user has consented to receive Leadping account notification SMS messages.
    - `smsConsentUpdatedAt` string, date-time, nullable: When the user's Leadping notification SMS consent was last changed.
    - `smsConsentCertificate` LeadpingConsentCertificate, nullable: Describes Leadping Consent certificate data used in Leadping API requests and responses.
      - `id` string, nullable: Unique Leadping identifier for this Leadping Consent certificate.
      - `source` string, nullable: Source for this Leadping Consent certificate.
      - `createdAt` string, date-time, nullable: UTC timestamp for created at on this Leadping Consent certificate.
    - `paymentFailedEnabled` boolean: Whether payment failed notifications are enabled for this user notification preferences.
    - `paymentFailedSmsEnabled` boolean: Indicates whether payment failed SMS functionality is enabled for this Leadping user notification preferences.
    - `lowWalletBalanceEnabled` boolean: Whether low wallet balance notifications are enabled for this user notification preferences.
    - `lowWalletBalanceEmailEnabled` boolean: Indicates whether low wallet balance email functionality is enabled for this Leadping user notification preferences.
    - `lowWalletBalanceSmsEnabled` boolean: Indicates whether low wallet balance SMS functionality is enabled for this Leadping user notification preferences.
    - `walletDepletedSmsEnabled` boolean: Text organization admins when their prepaid wallet runs out of funds.
    - `tenDlcStatusEnabled` boolean: Whether 10DLC status notifications are enabled for this user notification preferences.
    - `newLeadEnabled` boolean: Whether new lead notifications are enabled for this user notification preferences.
    - `newLeadEmailEnabled` boolean: Whether new lead email is enabled for this user notification preferences.
    - `newLeadSmsEnabled` boolean: Whether new lead SMS is enabled for this user notification preferences.
    - `missedCallEnabled` boolean: Whether missed call notifications are enabled for this user notification preferences.
    - `missedCallEmailEnabled` boolean: Indicates whether missed call email functionality is enabled for this Leadping user notification preferences.
    - `missedCallSmsEnabled` boolean: Indicates whether missed call SMS functionality is enabled for this Leadping user notification preferences.
    - `unreadSmsEnabled` boolean: Whether unread SMS notifications are enabled for this user notification preferences.
    - `unreadSmsEmailEnabled` boolean: Indicates whether unread SMS email functionality is enabled for this Leadping user notification preferences.
    - `unreadSmsSmsEnabled` boolean: Indicates whether unread SMS SMS functionality is enabled for this Leadping user notification preferences.
    - `automationFailedEnabled` boolean: Whether automation failed notifications are enabled for this user notification preferences.
    - `automationFailedEmailEnabled` boolean: Indicates whether automation failed email functionality is enabled for this Leadping user notification preferences.
    - `automationFailedSmsEnabled` boolean: Indicates whether automation failed SMS functionality is enabled for this Leadping user notification preferences.
    - `billingEmailEnabled` boolean: Whether billing email is enabled for this user notification preferences.
    - `billingSmsEnabled` boolean: Whether billing SMS is enabled for this user notification preferences.
    - `subscriptionRenewingEnabled` boolean: Whether subscription renewing notifications are enabled for this user notification preferences.
    - `subscriptionRenewingEmailEnabled` boolean: Indicates whether subscription renewing email functionality is enabled for this Leadping user notification preferences.
    - `subscriptionRenewingSmsEnabled` boolean: Indicates whether subscription renewing SMS functionality is enabled for this Leadping user notification preferences.
    - `usageLimitHitEnabled` boolean: Whether usage limit hit notifications are enabled for this user notification preferences.
  - `mobileDevicePreferences` MobileDevicePreferences[], nullable: The Leadping mobile device preferences for this user.
    - `device` IdNamePair: User summary connected to this automation configuration response.
      - `id` string, required
      - `name` string, required
    - `inboundPhoneCallsEnabled` boolean: Whether inbound phone calls are enabled for this user device.
    - `updatedAt` string, date-time, nullable: The date and time this device preference was last updated.
  - `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

## Other responses

- `400`: The request was invalid or failed validation.
- `401`: Authentication credentials are missing or invalid.
- `403`: The caller does not have permission to perform this operation.
- `404`: The requested resource or required account context was not found.
- `409`: The operation conflicts with the current resource state. Refresh the resource before retrying.
- `415`: The request content type is not supported by this endpoint.
- `429`: The client or account rate limit was exceeded. Retry after the interval in the Retry-After header.
- `500`: An unexpected error prevented the server from completing the request.
- `503`: A required service is temporarily unavailable. Retry the request later.

## Changes

- **2026-11-25** `30192e68074d`: 1 info
  - added the optional property `allOf[#/components/schemas/UserResponse]/notificationPreferences/allOf[#/components/schemas/UserNotificationPreferences]/incomingMessageSoundEnabled` to the response with the `200` status
- **2026-11-24** `6acd2d889f24`: 1 info
  - added the optional property `allOf[#/components/schemas/UserResponse]/notificationPreferences/allOf[#/components/schemas/UserNotificationPreferences]/walletDepletedSmsEnabled` to the response with the `200` status
- **2026-11-18** `5a0bd8b5cac2`: 1 info
  - added the optional property `allOf[#/components/schemas/UserResponse]/notificationPreferences/allOf[#/components/schemas/UserNotificationPreferences]/accountSmsAlertsEnabled` to the response with the `200` status
- **2026-11-16** `dfda12936340`: 3 info
  - added the optional property `allOf[#/components/schemas/UserResponse]/notificationPreferences/allOf[#/components/schemas/UserNotificationPreferences]/positiveSentimentEmailEnabled` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/UserResponse]/notificationPreferences/allOf[#/components/schemas/UserNotificationPreferences]/positiveSentimentEnabled` to the response with the `200` status
  - added the optional property `allOf[#/components/schemas/UserResponse]/notificationPreferences/allOf[#/components/schemas/UserNotificationPreferences]/positiveSentimentSmsEnabled` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/leadping/apis/leadping-api/changes/users/compliance/put.md)

---

[API](https://skmtc.dev/leadping/apis/leadping-api.md) - [All operations](https://skmtc.dev/leadping/apis/leadping-api/llms.txt) - [OpenAPI document](https://skmtc.dev/leadping/apis/leadping-api/revisions/bf1852acaf45?raw)
