Skip to main content
POST
Create a share link

Authorizations

better-auth.session_token
string
cookie
required

Browser session cookie set by Better Auth sign-in.

Path Parameters

id
string
required

Body

application/json
expiresInDays
integer
Required range: 1 <= x <= 7

Response