> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# NotificationInApp

> The schema definition for the NotificationInApp resource.

## Primary key

[Navigate to header](#param-commercial-activity)

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the notification in app.

## Specific attributes

[Navigate to header](#param-commercial-activity)

body

text

public

The body of the notification in app.

[Navigate to header](#param-commercial-activity)

cta\_label

varchar

public

The cta label of the notification in app.

**Rules**: Max length: 60 characters

[Navigate to header](#param-commercial-activity)

cta\_url

varchar

public

The cta URL of the notification in app.

**Rules**: Max length: 2048 characters

[Navigate to header](#param-commercial-activity)

data

jsonb

public

The data of the notification in app.

[Navigate to header](#param-commercial-activity)

expires\_at

timestamp

public

Timestamp when the notification in app was expires.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

icon

varchar

public

The icon of the notification in app.

**Rules**: Max length: 120 characters

[Navigate to header](#param-commercial-activity)

read\_at

timestamp

public

Timestamp when the notification in app was read.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

seen\_at

timestamp

public

Timestamp when the notification in app was seen.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

template\_key

varchar

public

The template key of the notification in app.

**Rules**: Max length: 120 characters

[Navigate to header](#param-commercial-activity)

title

varchar

public

The title of the notification in app.

**Rules**: Max length: 255 characters

## Foreign keys

[Navigate to header](#param-commercial-activity)

account

uuid

public

Optional reference to the Account associated with the notification in app. [Ref: Account Schema](https://docs.bbrands.io/schemas/account/account.md)

[Navigate to header](#param-commercial-activity)

notification

uuid

public

required

Reference to the Notification this notification in app belongs to. [Ref: Notification Schema](https://docs.bbrands.io/schemas/notification/notification.md)

[Navigate to header](#param-commercial-activity)

user

uuid

public

required

Reference to the Users this notification in app belongs to.

## Tracking attributes

[Navigate to header](#param-commercial-activity)

created\_at

timestamp

public

required

Timestamp when the record was created.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

deleted\_at

timestamp

public

Timestamp when the record was soft-deleted, when applicable.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

is\_actived

boolean

default:"true"

public

required

Indicates whether the record is currently active.

[Navigate to header](#param-commercial-activity)

is\_deleted

boolean

default:"false"

public

required

Indicates whether the record has been soft-deleted.

[Navigate to header](#param-commercial-activity)

updated\_at

timestamp

public

Timestamp when the record was last updated.

**Rules**: Precision: 6, with timezone


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.