Skip to main content
POST
Create a notification

Body

application/json

Schema for creating a new notification.

is_read
boolean
required

Indicates whether the notification has been read.

user_id
string<uuid>
required

The ID of the user.

created_at
string<date-time> | null

The date and time the entity was created.

message
Message · object

The message content.

Example:
updated_at
string<date-time> | null

The date and time the entity was last updated.

Response

Successful Response

Schema for reading notification entity.

is_read
boolean
required

Indicates whether the notification has been read.

no
integer
required

The ID for the notification.

user_id
string<uuid>
required

The ID of the user.

created_at
string<date-time> | null

The date and time the entity was created.

message
Message · object

The message content.

Example:
updated_at
string<date-time> | null

The date and time the entity was last updated.