Skip to main content
POST
Connect a generation provider key

Authorizations

Authorization
string
header
required

API key or OAuth access token.

Body

application/json
providerType
enum<string>
required
Available options:
openai,
gemini,
fal
apiKey
string
required
Required string length: 8 - 4096
label
string
required
Required string length: 1 - 120
advertiserIds
(integer | string)[]
Maximum array length: 500
Required range: 0 < x <= 9007199254740991
isDefault
boolean

Response

OK

data
object | null
required
error
object | null
required