Bluesky
Get Bluesky Account Settings
Returns the account's default post languages, used when a post sets no languages. Works only on Bluesky connections.
GET
header
x-api-key<token>Workspace API key, sent in the x-api-key header. Keys start with op_ and are created in the dashboard.
id*stringLength
1 <= lengthBluesky settings
application/json- response
accountId*stringplatform*"bluesky"Value in
"bluesky"defaultLangs*array<string>|nullfetchedAt*stringFormat
date-timeExample Request
import { Configuration, ConnectionsApi } from "@onepostly/sdk";const connectionsApi = new ConnectionsApi( new Configuration({ apiKey: process.env.ONEPOSTLY_API_KEY }));const response = await connectionsApi.getBlueskySettings({ id: "a1b2c3d4-e5f6-4a7b-8c9d-e0f1a2b3c4d5",});console.log(response);Example Response
{ "accountId": "a1b2c3d4-e5f6-4a7b-8c9d-e0f1a2b3c4d5", "platform": "bluesky", "defaultLangs": [ "en" ], "fetchedAt": "2026-08-25T10:00:00.000Z"}