> ## 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.

# NotificationRequest

> The schema definition for the NotificationRequest resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the notification request.

## Specific attributes

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

accepted\_count

integer

default:"0"

public

required

The accepted count of the notification request.

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

completed\_at

timestamp

public

Timestamp when the notification request was completed.

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

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

correlation

varchar

public

The correlation of the notification request.

**Rules**: Max length: 255 characters

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

duplicated\_count

integer

default:"0"

public

required

The duplicated count of the notification request.

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

ip

varchar

public

The IP of the notification request.

**Rules**: Max length: 64 characters

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

origin

varchar

public

required

The origin of the notification request.

**Rules**: Possible values: api\_key, cron, system, user. Max length: 20 characters

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

rejected\_count

integer

default:"0"

public

required

The rejected count of the notification request.

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

status

varchar

default:"accepted"

public

required

The status of the notification request.

**Rules**: Possible values: accepted, completed, failed, partially-failed. Max length: 30 characters

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

total\_count

integer

default:"0"

public

required

The total count of the notification request.

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

user\_agent

varchar

public

The user agent of the notification request.

**Rules**: Max length: 255 characters

## Foreign keys

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

actor\_user

uuid

public

Optional reference to the Users associated with the notification request.

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

api\_key

uuid

public

Optional reference to the API Key associated with the notification request. [Ref: Api Key Schema](https://docs.bbrands.io/schemas/permission/api-key.md)

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

notification\_gateway

uuid

public

Optional reference to the Notification Gateway associated with the notification request. [Ref: Notification Gateway Schema](https://docs.bbrands.io/schemas/notification/notification-gateway.md)

## 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.