Accounts

Finish a connect flow

Dashboard session only. Completes the handshake started by POST /v1/accounts/connect/{platform} — for OAuth platforms this is invoked from the redirect callback flow; for credentials platforms (Bluesky) it carries the credentials in the body. Upserts the platform_accounts row (re-connecting the same account rotates the stored token rather than 409-ing).

post/v1/accounts/connect/{platform}/complete

Request

  • Base URL: https://api.letmepost.dev
  • URL: https://api.letmepost.dev/v1/accounts/connect/{platform}/complete
  • Auth: none required

Path parameters

platform'bluesky' | 'facebook' | 'instagram' | 'linkedin' | 'pinterest' | 'threads' | 'tiktok' | 'twitter' required

Supported platforms. tiktok posts upload to the creator's TikTok inbox as a draft that the creator confirms in the TikTok app; Direct Post is not implemented yet.

Request body

profileIdstring uuid

Response

Account re-connected (token rotated on an existing row).

idstring uuid required
profileIdstring uuid required
platform'bluesky' | 'facebook' | 'instagram' | 'linkedin' | 'pinterest' | 'threads' | 'tiktok' | 'twitter' required

Supported platforms. tiktok posts upload to the creator's TikTok inbox as a draft that the creator confirms in the TikTok app; Direct Post is not implemented yet.

platformAccountIdstring required

The platform's own user/account id (e.g. Twitter user id, IG Business id).

displayNamestring nullable required
tokenExpiresAtstring date-time nullable
createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.