curl --request GET \
--url https://api.birdeye.com/resources/v1/social/post/public/media/track/{batch_id} \
--header 'x-api-key: <x-api-key>' \
--header 'x-business-number: <x-business-number>'import requests
url = "https://api.birdeye.com/resources/v1/social/post/public/media/track/{batch_id}"
headers = {
"x-api-key": "<x-api-key>",
"x-business-number": "<x-business-number>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-api-key': '<x-api-key>', 'x-business-number': '<x-business-number>'}
};
fetch('https://api.birdeye.com/resources/v1/social/post/public/media/track/{batch_id}', 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.birdeye.com/resources/v1/social/post/public/media/track/{batch_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <x-api-key>",
"x-business-number: <x-business-number>"
],
]);
$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.birdeye.com/resources/v1/social/post/public/media/track/{batch_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("x-business-number", "<x-business-number>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.birdeye.com/resources/v1/social/post/public/media/track/{batch_id}")
.header("x-api-key", "<x-api-key>")
.header("x-business-number", "<x-business-number>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.birdeye.com/resources/v1/social/post/public/media/track/{batch_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<x-api-key>'
request["x-business-number"] = '<x-business-number>'
response = http.request(request)
puts response.read_body{
"batch_id": "e0de3eeb-1f52-45bd-9110-fb6b5cb966ad",
"status": "COMPLETED",
"accepted_count": 1,
"success_count": 1,
"failed_count": 0,
"pending_count": 0,
"items": [
{
"source_url": "https://example.com/video.mp4",
"status": "SUCCESS",
"asset_id": 3457963,
"cdn_url": "https://ddjkm7nmu27lx.cloudfront.net/.../video.mp4"
}
]
}{
"code": 1161,
"message": "Invalid API key"
}{
"code": 1011,
"message": "Business id is invalid"
}{
"code": 89,
"message": "Rate limit exceeded"
}Track Social Media Upload
Returns the current processing status for a media upload batch submitted via the Upload Social Media endpoint. Poll until pending_count reaches 0 or the batch status is no longer PENDING. The asset_id returned for successfully uploaded items should be used when attaching media to a Social Post.
curl --request GET \
--url https://api.birdeye.com/resources/v1/social/post/public/media/track/{batch_id} \
--header 'x-api-key: <x-api-key>' \
--header 'x-business-number: <x-business-number>'import requests
url = "https://api.birdeye.com/resources/v1/social/post/public/media/track/{batch_id}"
headers = {
"x-api-key": "<x-api-key>",
"x-business-number": "<x-business-number>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-api-key': '<x-api-key>', 'x-business-number': '<x-business-number>'}
};
fetch('https://api.birdeye.com/resources/v1/social/post/public/media/track/{batch_id}', 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.birdeye.com/resources/v1/social/post/public/media/track/{batch_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <x-api-key>",
"x-business-number: <x-business-number>"
],
]);
$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.birdeye.com/resources/v1/social/post/public/media/track/{batch_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("x-business-number", "<x-business-number>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.birdeye.com/resources/v1/social/post/public/media/track/{batch_id}")
.header("x-api-key", "<x-api-key>")
.header("x-business-number", "<x-business-number>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.birdeye.com/resources/v1/social/post/public/media/track/{batch_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<x-api-key>'
request["x-business-number"] = '<x-business-number>'
response = http.request(request)
puts response.read_body{
"batch_id": "e0de3eeb-1f52-45bd-9110-fb6b5cb966ad",
"status": "COMPLETED",
"accepted_count": 1,
"success_count": 1,
"failed_count": 0,
"pending_count": 0,
"items": [
{
"source_url": "https://example.com/video.mp4",
"status": "SUCCESS",
"asset_id": 3457963,
"cdn_url": "https://ddjkm7nmu27lx.cloudfront.net/.../video.mp4"
}
]
}{
"code": 1161,
"message": "Invalid API key"
}{
"code": 1011,
"message": "Business id is invalid"
}{
"code": 89,
"message": "Rate limit exceeded"
}Headers
Business API key.
Business identifier.
Path Parameters
The batch ID returned from the Upload Social Media endpoint.
Response
OK
Identifier for the batch.
Overall batch status. Possible values: COMPLETED (all items processed successfully), PARTIALLY_COMPLETED (some succeeded, some failed), FAILED (all items failed), PENDING (processing still in progress — poll again).
COMPLETED, PARTIALLY_COMPLETED, FAILED, PENDING Total number of URLs submitted in the batch.
Number of successfully uploaded items.
Number of failed items.
Number of items still processing. Poll again if greater than 0.
Per-item processing results.
Show child attributes
Show child attributes