socialAccount
Copy social accounts.
POST
/
api
/
v1
/
social-account
/
copy
Copy
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"
]
}'
Copy
[
{
"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
Body
application/json
Body
The body is of type object
.
Response
200
application/json
200
The response is of type object[]
.
Was this page helpful?
Copy
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"
]
}'
Copy
[
{
"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"
}
]
Assistant
Responses are generated using AI and may contain mistakes.