cURL
curl --request POST \ --url https://api.bundle.social/api/v1/social-account/refresh-channels \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "type": "DISCORD", "teamId": "<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" }
Refresh channels saved on socialAccount.channels. This is only needed for some social account types - Reddit, Discord, Slack, Pinterest.
Body
The body is of type object.
object
200
The response is of type object.
Was this page helpful?