Connect Bluesky account
Connect a Bluesky account using identifier (handle or email) and an app password. To get your userId for the state parameter, call GET /v1/users which includes a currentUserId field.
API key authentication - use your Late API key as a Bearer token
In: header
Your Bluesky handle (e.g. user.bsky.social) or email address
App password generated from Bluesky Settings > App Passwords
Required state formatted as {userId}-{profileId}. Get userId from GET /v1/users and profileId from GET /v1/profiles.
Optional URL to redirect to after successful connection
uriResponse Body
application/json
application/json
curl -X POST "https://getlate.dev/api/v1/connect/bluesky/credentials" \ -H "Content-Type: application/json" \ -d '{ "identifier": "yourhandle.bsky.social", "appPassword": "xxxx-xxxx-xxxx-xxxx", "state": "6507a1b2c3d4e5f6a7b8c9d0-6507a1b2c3d4e5f6a7b8c9d1", "redirectUri": "https://yourapp.com/connected" }'{
"message": "Bluesky connected successfully",
"account": {
"platform": "bluesky",
"username": "yourhandle.bsky.social",
"displayName": "Your Name",
"isActive": true
},
"redirectUrl": "https://getlate.dev/dashboard/profiles/64f0.../accounts"
}{
"error": "Unauthorized"
}Set default subreddit PUT
Sets the default subreddit used when publishing posts for this Reddit account.
Generate Telegram code GET
Generate an access code (valid 15 minutes) for connecting a Telegram channel or group. Add the bot as admin, then send the code + @yourchannel to the bot. Poll PATCH /v1/connect/telegram to check status.