Skip to main content
POST
Invite someone

Authorizations

better-auth.session_token
string
cookie
required

Body

application/json
email
string<email>
required
role
enum<string>
required
Available options:
admin,
member,
tool

Response

The invitation, and its link for sending it yourself.

invite
object
required
invite_url
string<uri>
required