Bluesky

Get Account Settings

Returns the account's publishing defaults. Available for Bluesky accounts.

GET
/v1/accounts/{id}/settings

Authorization

Bearer
headerAuthorizationBearer <op_>

Workspace API key, sent as Authorization: Bearer op_... Keys are created in the dashboard.

Path Parameters

id*string
Length1 <= length

Response Body

Settings

application/json
  1. response
accountId*string
defaultLangs*array<string>|

Bluesky: languages applied to a post that names none. Null when unset.

Example Request
import { Configuration, AccountsApi } from "@onepostly/sdk";const accountsApi = new AccountsApi(  new Configuration({ accessToken: process.env.ONEPOSTLY_API_KEY }));const response = await accountsApi.getAccountSettings({  id: "acc_YOUR_BLUESKY_ACCOUNT_ID",});console.log(response);
Example Response
{  "accountId": "acc_YOUR_BLUESKY_ACCOUNT_ID",  "defaultLangs": [    "en"  ]}