POST
/
api
/
v1
/
social-account
/
copy
Copy social accounts
curl --request POST \
  --url https://api.bundle.social/api/v1/social-account/copy \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "fromTeamId": "<string>",
  "toTeamId": "<string>",
  "resetChannel": true,
  "socialAccountTypes": [
    "TIKTOK"
  ]
}'
[
  {
    "id": "<string>",
    "type": "TIKTOK",
    "teamId": "<string>",
    "username": "<string>",
    "displayName": "<string>",
    "externalId": "<string>",
    "userUsername": "<string>",
    "userDisplayName": "<string>",
    "userId": "<string>",
    "channels": [
      {
        "id": "<string>",
        "name": "<string>",
        "username": "<string>",
        "webhook": {
          "id": "<string>",
          "name": "<string>",
          "avatar": "<string>",
          "url": "<string>"
        }
      }
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

x-api-key
string
header
required

Body

application/json

Body

fromTeamId
string
required
toTeamId
string
required
socialAccountTypes
enum<string>[]
required
Minimum length: 1
resetChannel
boolean

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.

Response

200

id
string
required
type
enum<string>
required
Available options:
TIKTOK,
YOUTUBE,
INSTAGRAM,
FACEBOOK,
TWITTER,
THREADS,
LINKEDIN,
PINTEREST,
REDDIT,
MASTODON,
DISCORD,
SLACK
teamId
string
required
createdAt
string<date-time> | null
required
updatedAt
string<date-time> | null
required
username
string | null
displayName
string | null
externalId
string | null
userUsername
string | null
userDisplayName
string | null
userId
string | null
channels
object[] | null
deletedAt
string<date-time> | null