Skip to main content
POST
/
api
/
v1
/
comment
/
{id}
/
retry
Retry comment
curl --request POST \
  --url https://api.bundle.social/api/v1/comment/{id}/retry \
  --header 'x-api-key: <api-key>'
import requests

url = "https://api.bundle.social/api/v1/comment/{id}/retry"

headers = {"x-api-key": "<api-key>"}

response = requests.post(url, headers=headers)

print(response.text)
const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};

fetch('https://api.bundle.social/api/v1/comment/{id}/retry', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bundle.social/api/v1/comment/{id}/retry",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.bundle.social/api/v1/comment/{id}/retry"

req, _ := http.NewRequest("POST", url, nil)

req.Header.Add("x-api-key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.bundle.social/api/v1/comment/{id}/retry")
.header("x-api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.bundle.social/api/v1/comment/{id}/retry")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "id": "<string>",
  "teamId": "<string>",
  "title": "<string>",
  "postDate": "2023-11-07T05:31:56Z",
  "data": {
    "FACEBOOK": {
      "text": "<string>"
    },
    "INSTAGRAM": {
      "text": "<string>"
    },
    "THREADS": {
      "text": "<string>"
    },
    "TIKTOK": {
      "text": "<string>"
    },
    "LINKEDIN": {
      "text": "<string>"
    },
    "YOUTUBE": {
      "text": "<string>"
    },
    "REDDIT": {
      "text": "<string>"
    },
    "MASTODON": {
      "text": "<string>"
    },
    "DISCORD": {
      "text": "<string>"
    },
    "SLACK": {
      "text": "<string>"
    },
    "BLUESKY": {
      "text": "<string>"
    }
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "organizationId": "<string>",
  "internalPostId": "<string>",
  "importedPostId": "<string>",
  "internalParentCommentId": "<string>",
  "fetchedParentCommentId": "<string>",
  "postedDate": "2023-11-07T05:31:56Z",
  "error": "<string>",
  "errors": {
    "FACEBOOK": "<string>",
    "INSTAGRAM": "<string>",
    "TIKTOK": "<string>",
    "LINKEDIN": "<string>",
    "REDDIT": "<string>",
    "YOUTUBE": "<string>",
    "MASTODON": "<string>",
    "THREADS": "<string>",
    "DISCORD": "<string>",
    "SLACK": "<string>",
    "BLUESKY": "<string>"
  },
  "errorsVerbose": {
    "FACEBOOK": {
      "code": "<string>",
      "errorMessage": "<string>",
      "isTransient": true,
      "httpStatus": 123,
      "meta": null,
      "userFacingMessage": "<string>"
    },
    "INSTAGRAM": {
      "code": "<string>",
      "errorMessage": "<string>",
      "isTransient": true,
      "httpStatus": 123,
      "meta": null,
      "userFacingMessage": "<string>"
    },
    "TIKTOK": {
      "code": "<string>",
      "errorMessage": "<string>",
      "isTransient": true,
      "httpStatus": 123,
      "meta": null,
      "userFacingMessage": "<string>"
    },
    "LINKEDIN": {
      "code": "<string>",
      "errorMessage": "<string>",
      "isTransient": true,
      "httpStatus": 123,
      "meta": null,
      "userFacingMessage": "<string>"
    },
    "REDDIT": {
      "code": "<string>",
      "errorMessage": "<string>",
      "isTransient": true,
      "httpStatus": 123,
      "meta": null,
      "userFacingMessage": "<string>"
    },
    "YOUTUBE": {
      "code": "<string>",
      "errorMessage": "<string>",
      "isTransient": true,
      "httpStatus": 123,
      "meta": null,
      "userFacingMessage": "<string>"
    },
    "MASTODON": {
      "code": "<string>",
      "errorMessage": "<string>",
      "isTransient": true,
      "httpStatus": 123,
      "meta": null,
      "userFacingMessage": "<string>"
    },
    "THREADS": {
      "code": "<string>",
      "errorMessage": "<string>",
      "isTransient": true,
      "httpStatus": 123,
      "meta": null,
      "userFacingMessage": "<string>"
    },
    "DISCORD": {
      "code": "<string>",
      "errorMessage": "<string>",
      "isTransient": true,
      "httpStatus": 123,
      "meta": null,
      "userFacingMessage": "<string>"
    },
    "SLACK": {
      "code": "<string>",
      "errorMessage": "<string>",
      "isTransient": true,
      "httpStatus": 123,
      "meta": null,
      "userFacingMessage": "<string>"
    },
    "BLUESKY": {
      "code": "<string>",
      "errorMessage": "<string>",
      "isTransient": true,
      "httpStatus": 123,
      "meta": null,
      "userFacingMessage": "<string>"
    }
  },
  "externalData": {
    "FACEBOOK": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "INSTAGRAM": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "TIKTOK": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "LINKEDIN": {
      "id": "<string>",
      "commentUrn": "<string>",
      "permalink": "<string>"
    },
    "REDDIT": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "YOUTUBE": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "MASTODON": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "THREADS": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "DISCORD": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "SLACK": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "BLUESKY": {
      "id": "<string>",
      "uri": "<string>",
      "cid": "<string>",
      "permalink": "<string>",
      "did": "<string>"
    }
  },
  "deletedAt": "2023-11-07T05:31:56Z"
}
{
"message": "<string>",
"statusCode": 123,
"issues": [
{
"message": "<string>",
"path": [
"<string>"
]
}
]
}
{
"message": "<string>",
"statusCode": 123
}
{
"message": "<string>",
"statusCode": 123
}
{
"message": "<string>",
"statusCode": 123
}
{
"message": "<string>",
"statusCode": 123
}
{
"message": "<string>",
"statusCode": 123
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Response

200

id
string
required
teamId
string
required
title
string
required
postDate
string<date-time> | null
required
status
enum<string>
required
Available options:
DRAFT,
SCHEDULED,
POSTED,
ERROR,
DELETED,
PROCESSING,
RETRYING
data
object
required
createdAt
string<date-time> | null
required
updatedAt
string<date-time> | null
required
organizationId
string | null
internalPostId
string | null
importedPostId
string | null
internalParentCommentId
string | null
fetchedParentCommentId
string | null
postedDate
string<date-time> | null
error
string | null
errors
object | null
errorsVerbose
object | null
externalData
object | null
deletedAt
string<date-time> | null