Get COLA details
curl --request GET \
--url https://app.colacloud.us/api/v1/colas/{ttb_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.colacloud.us/api/v1/colas/{ttb_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://app.colacloud.us/api/v1/colas/{ttb_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://app.colacloud.us/api/v1/colas/{ttb_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: <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://app.colacloud.us/api/v1/colas/{ttb_id}"
req, _ := http.NewRequest("GET", 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.get("https://app.colacloud.us/api/v1/colas/{ttb_id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.colacloud.us/api/v1/colas/{ttb_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"ttb_id": "<string>",
"brand_name": "<string>",
"product_name": "<string>",
"class_name": "<string>",
"origin_name": "<string>",
"permit_number": "<string>",
"approval_date": "2023-12-25",
"image_count": 123,
"has_barcode": true,
"class_id": "<string>",
"origin_id": "<string>",
"latest_update_date": "2023-12-25",
"is_distinctive_container": true,
"for_distinctive_capacity": "<string>",
"is_resubmission": true,
"for_resubmission_ttb_id": "<string>",
"for_exemption_state": "<string>",
"address_recipient": "<string>",
"address_zip_code": "<string>",
"address_state": "<string>",
"grape_varietals": [
"<string>"
],
"wine_vintage_year": 123,
"wine_appellation": "<string>",
"llm_container_type": "<string>",
"llm_product_description": "<string>",
"llm_brand_established_year": 123,
"llm_tasting_note_flavors": [
"<string>"
],
"llm_artwork_credit": "<string>",
"llm_wine_designation": "<string>",
"llm_beer_ibu": "<string>",
"llm_beer_hops_varieties": [
"<string>"
],
"llm_liquor_aged_years": 123,
"llm_liquor_finishing_process": "<string>",
"llm_liquor_grains": [
"<string>"
],
"barcode_type": "<string>",
"barcode_value": "<string>",
"qrcode_url": "<string>",
"has_front_image": true,
"has_back_image": true,
"has_neck_image": true,
"has_strip_image": true,
"images": [
{
"ttb_image_id": "<string>",
"image_index": 123,
"extension_type": "<string>",
"width_pixels": 123,
"height_pixels": 123,
"width_inches": 123,
"height_inches": 123,
"file_size_mb": 123,
"barcode_count": 123,
"qrcode_count": 123,
"image_url": "<string>"
}
],
"barcodes": [
{
"barcode_type": "<string>",
"barcode_value": "<string>",
"ttb_image_id": "<string>",
"width_pixels": 123,
"height_pixels": 123,
"relative_image_position": "<string>"
}
]
}
}
COLAs
Get COLA details
Retrieve detailed information for a single COLA by its TTB ID. Includes all label images with stable CloudFront URLs and barcode data. Counts as one detail view against your quota.
GET
/
colas
/
{ttb_id}
Get COLA details
curl --request GET \
--url https://app.colacloud.us/api/v1/colas/{ttb_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.colacloud.us/api/v1/colas/{ttb_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://app.colacloud.us/api/v1/colas/{ttb_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://app.colacloud.us/api/v1/colas/{ttb_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: <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://app.colacloud.us/api/v1/colas/{ttb_id}"
req, _ := http.NewRequest("GET", 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.get("https://app.colacloud.us/api/v1/colas/{ttb_id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.colacloud.us/api/v1/colas/{ttb_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"ttb_id": "<string>",
"brand_name": "<string>",
"product_name": "<string>",
"class_name": "<string>",
"origin_name": "<string>",
"permit_number": "<string>",
"approval_date": "2023-12-25",
"image_count": 123,
"has_barcode": true,
"class_id": "<string>",
"origin_id": "<string>",
"latest_update_date": "2023-12-25",
"is_distinctive_container": true,
"for_distinctive_capacity": "<string>",
"is_resubmission": true,
"for_resubmission_ttb_id": "<string>",
"for_exemption_state": "<string>",
"address_recipient": "<string>",
"address_zip_code": "<string>",
"address_state": "<string>",
"grape_varietals": [
"<string>"
],
"wine_vintage_year": 123,
"wine_appellation": "<string>",
"llm_container_type": "<string>",
"llm_product_description": "<string>",
"llm_brand_established_year": 123,
"llm_tasting_note_flavors": [
"<string>"
],
"llm_artwork_credit": "<string>",
"llm_wine_designation": "<string>",
"llm_beer_ibu": "<string>",
"llm_beer_hops_varieties": [
"<string>"
],
"llm_liquor_aged_years": 123,
"llm_liquor_finishing_process": "<string>",
"llm_liquor_grains": [
"<string>"
],
"barcode_type": "<string>",
"barcode_value": "<string>",
"qrcode_url": "<string>",
"has_front_image": true,
"has_back_image": true,
"has_neck_image": true,
"has_strip_image": true,
"images": [
{
"ttb_image_id": "<string>",
"image_index": 123,
"extension_type": "<string>",
"width_pixels": 123,
"height_pixels": 123,
"width_inches": 123,
"height_inches": 123,
"file_size_mb": 123,
"barcode_count": 123,
"qrcode_count": 123,
"image_url": "<string>"
}
],
"barcodes": [
{
"barcode_type": "<string>",
"barcode_value": "<string>",
"ttb_image_id": "<string>",
"width_pixels": 123,
"height_pixels": 123,
"relative_image_position": "<string>"
}
]
}
}
Authorizations
ApiKeyHeaderBearerApiKey
API key passed in the X-API-Key header
Path Parameters
The unique TTB identifier for the COLA
Response
Successful response
Detailed view of a COLA (includes all fields, images, and barcodes)
Show child attributes
Show child attributes
⌘I

