Skip to main content
POST
/
api
/
v1
/
social-account
/
profile-refresh
Manually refresh social account profile info
curl --request POST \
  --url https://api.bundle.social/api/v1/social-account/profile-refresh \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "type": "TIKTOK",
  "teamId": "<string>"
}
'
{
  "success": true,
  "socialAccountId": "<string>",
  "socialAccount": {
    "id": "<string>",
    "type": "TIKTOK",
    "teamId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "username": "<string>",
    "displayName": "<string>",
    "avatarUrl": "<string>",
    "externalId": "<string>",
    "userUsername": "<string>",
    "userDisplayName": "<string>",
    "userId": "<string>",
    "channels": [
      {
        "id": "<string>",
        "name": "<string>",
        "username": "<string>",
        "avatarUrl": "<string>",
        "webhook": {
          "id": "<string>",
          "name": "<string>",
          "avatar": "<string>",
          "url": "<string>"
        },
        "metadata": {
          "allowImages": true,
          "allowVideos": true,
          "allowGalleries": true,
          "linkFlairEnabled": true
        }
      }
    ],
    "mastodonServerId": "<string>",
    "instagramConnectionMethod": "FACEBOOK",
    "twitterSubType": "none",
    "disconnectedCheckTryAt": "2023-11-07T05:31:56Z",
    "deleteOn": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z"
  },
  "refreshedAt": "<string>",
  "limit": 2,
  "used": 1,
  "remaining": 1,
  "windowSeconds": 2,
  "message": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Body

type
enum<string>
required
Available options:
TIKTOK,
YOUTUBE,
INSTAGRAM,
FACEBOOK,
TWITTER,
THREADS,
LINKEDIN,
PINTEREST,
REDDIT,
MASTODON,
DISCORD,
SLACK,
BLUESKY,
GOOGLE_BUSINESS
teamId
string
required

Response

200

success
boolean
required
socialAccountId
string
required
socialAccount
object
required
refreshedAt
string
required
limit
integer
required
Required range: x >= 1
used
integer
required
Required range: x >= 0
remaining
integer
required
Required range: x >= 0
windowSeconds
integer
required
Required range: x >= 1
message
string