Notifications

Get a current-user notification

Changed on

Returns one notification for the current user and organization, including its content, read state, delivery context, and relevant account activity.

get/notifications/{id}

Request

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

Path parameters

id, string required

The notification ID.

Response

The notification accessible to the current user.

NotificationResponse required

Describes notification data used in Leadping API requests and responses.

organizationId, string nullable

The organization selected before opening this notification.

conversationId, string nullable

The mobile conversation destination.

leadId, string nullable

The lead used to resolve the conversation.

isDemo, boolean

Whether this record belongs to demo data.

type, 'PositiveSentiment' | 'Appointment' | 'General' | 'Lead' | 'Call' | 'Sms' | 'Billing' | 'System' | 'Success' | 'Warning' | 'Error' | 'Info' | 'Announcement' | 'Activation'

Identifies the Leadping workflow or account event communicated by a user notification.

priority, 'Low' | 'Medium' | 'High' | 'Critical'

Ranks the urgency and presentation importance of a Leadping user notification.

userId, string

The user ID associated with this notification.

message, string

Message for this notification.

details, string nullable

Optional supporting details displayed beneath the notification message.

readAt, string date-time nullable

UTC timestamp for read at on this notification.

isRead, boolean

Whether this notification is read.

pushEnabled, boolean

Whether this notification should also be delivered as a device push notification.

actionUrl, string nullable

The URL associated with this notification.

actionButtonText, string nullable

Action button text for this notification.

relatedEntityId, string nullable

The related entity ID associated with this notification.

relatedEntityType, string nullable

The related entity type classification for this notification.

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

Changes

    • warning

      added the new PositiveSentiment enum value to the allOf[#/components/schemas/NotificationResponse]/type/allOf[#/components/schemas/NotificationType] response property for the response status

    • warning

      added the new Appointment enum value to the allOf[#/components/schemas/NotificationResponse]/type/allOf[#/components/schemas/NotificationType] response property for the response status