Settings
Create a runtime provider application configuration
POST
sessionCookiecookie
better-auth.session_token<token>The Better Auth email/password session cookie used by the web application.
- body
providerId*stringValue in
"linkedin""bluesky""x""facebook""instagram"name*stringLength
1 <= length <= 200clientId?|nullclientMetadataUrl?|nullhandleResolver?|nullclientSecret?|nullstate?stringValue in
"active""disabled"isDefault?booleanResponse for status 201
application/json- response
application*curl -X POST 'https://postbot.example/api/settings/provider-applications' \
-H 'Content-Type: application/json' \
-d '{
"providerId": "linkedin",
"name": "string"
}'Example Response
{
"application": {
"id": "string",
"providerId": "linkedin",
"name": "string",
"clientId": "string",
"clientMetadataUrl": "string",
"handleResolver": "string",
"oauthMode": "loopback",
"state": "active",
"isDefault": true,
"createdByUserId": "string",
"hasClientSecret": true,
"createdAt": 0,
"updatedAt": 0
}
}