socialAccount

Copy social accounts

Changed on

Copy connected social accounts from one team to another so you can reuse an existing authorization without sending the user through OAuth again.

post/api/v1/social-account/copy

Request

  • Base URL
    https://api.bundle.social
  • URL
    https://api.bundle.social/api/v1/social-account/copy
  • Auth
    API key in header x-api-key

Request body

fromTeamIdstring required
toTeamIdstring required
resetChannelboolean

If you set that to true, selected page will not be transferred automatically. The user will have to select the page themselves again. This only applies to Facebook, Instagram, Linkedin and Youtube.

socialAccountTypesstring[] required

Response

200

idstring required
type'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK' | 'BLUESKY' | 'GOOGLE_BUSINESS' | 'SNAPCHAT' required
teamIdstring required
usernamestring nullable
displayNamestring nullable
biostring nullable
avatarUrlstring nullable
externalIdstring nullable
providerPageIdstring nullable
userUsernamestring nullable
userDisplayNamestring nullable
userEmailstring nullable
userIdstring nullable
mastodonServerIdstring nullable
instagramConnectionMethod'FACEBOOK' | 'INSTAGRAM' nullable
twitterSubType'none' | 'basic' | 'premium' | 'premium_plus' nullable
isTiktokBusinessAccountboolean nullable
disconnectedCheckTryAtstring date-time nullable
deleteOnstring date-time nullable
messagingStatus'DISABLED' | 'ENABLED' | 'DISABLE_PENDING'
messagingStatusUpdatedAtstring date-time nullable
messagingLastErrorstring nullable
createdAtstring date-time nullable required
updatedAtstring date-time nullable required
deletedAtstring date-time nullable

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status