Skip to main content
POST
Create an API token

Authorizations

__Secure-better-auth.session_token
string
cookie
required

The session cookie set when you sign in to the web app.

Body

application/json
operationId
string<uuid>
required
name
string
required
Maximum string length: 240

Response

The token, and its key: keep it now.

token
object
required
key
string
required