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:
email,
discord,
telegram,
slack
target
string
required
Minimum string length: 1
_id
string
enabled
boolean
default:true
webhookUrl
string
botToken
string
chatId
string
createdAt
any
updatedAt
any

Response