Skip to main content
POST
/
api
/
v1
/
comment
/
import
Start a new comment import for a post
curl --request POST \
  --url https://api.bundle.social/api/v1/comment/import \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "teamId": "<string>",
  "postId": "<string>",
  "socialAccountType": "FACEBOOK"
}
'
{
  "id": "<string>",
  "teamId": "<string>",
  "socialAccountId": "<string>",
  "postId": "<string>",
  "platform": "FACEBOOK",
  "status": "PENDING",
  "commentsImported": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "organizationId": "<string>",
  "error": "<string>",
  "rateLimitResetAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "completedAt": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Body

teamId
string
required
postId
string
required
socialAccountType
enum<string>
required
Available options:
FACEBOOK,
INSTAGRAM,
LINKEDIN,
YOUTUBE,
TIKTOK,
REDDIT,
THREADS,
MASTODON,
BLUESKY

Response

201

id
string
required
teamId
string
required
socialAccountId
string
required
postId
string
required
platform
enum<string>
required
Available options:
FACEBOOK,
INSTAGRAM,
LINKEDIN,
YOUTUBE,
TIKTOK,
REDDIT,
THREADS,
MASTODON,
BLUESKY
status
enum<string>
required
Available options:
PENDING,
FETCHING,
RETRYING,
COMPLETED,
SKIPPED,
FAILED,
RATE_LIMITED
commentsImported
number
required
createdAt
string<date-time> | null
required
updatedAt
string<date-time> | null
required
organizationId
string | null
error
string | null
rateLimitResetAt
string<date-time> | null
startedAt
string<date-time> | null
completedAt
string<date-time> | null