Social account
Set channel for social account
Social account
Set channel for social account
Needed only for some social account types - Youtube, Instagram, Facebook and Linkedin.
POST
/
api
/
v1
/
social-account
/
set-channel
curl --request POST \
--url https://api.bundle.social/api/v1/social-account/set-channel \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"type": "FACEBOOK",
"teamId": "<string>",
"channelId": "<string>"
}'
{
"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
.
curl --request POST \
--url https://api.bundle.social/api/v1/social-account/set-channel \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"type": "FACEBOOK",
"teamId": "<string>",
"channelId": "<string>"
}'
{
"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"
}