Skip to main content
POST
Create a resource

Authorizations

better-auth.session_token
string
cookie
required

Browser session cookie set by Better Auth sign-in.

Body

application/json
userId
string
required
type
enum<string>
required
Available options:
asset_discovered,
lead_created,
agent_attention,
js_change_detected,
js_secrets_found,
vulnerability_created,
scan_started,
scan_completed,
scan_failed
title
string
required
_id
string
message
string
default:""
read
boolean
default:false
createdAt
any
updatedAt
any

Response