Skip to main content
PUT
Store a provider key

Authorizations

better-auth.session_token
string
cookie
required

Browser session cookie set by Better Auth sign-in.

Body

application/json
provider
enum<string>
required
Available options:
zai,
opencode,
openai-compatible,
hackerone,
bugcrowd,
intigriti,
yeswehack
apiKey
string
required
Required string length: 16 - 512
baseUrl
string<uri>
Maximum string length: 2048
model
string
Required string length: 1 - 128
Pattern: ^[\w./:-]+$

Response

The stored key, masked.