cURL
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" }
Needed only for some social account types - Youtube, Instagram, Facebook and Linkedin.
Body
The body is of type object.
object
200
The response is of type object.
Was this page helpful?