curl --request GET \
--url https://api.cf.ovrsea.com/v1/documentsimport requests
url = "https://api.cf.ovrsea.com/v1/documents"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.cf.ovrsea.com/v1/documents', 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.cf.ovrsea.com/v1/documents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.cf.ovrsea.com/v1/documents"
req, _ := http.NewRequest("GET", url, nil)
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.cf.ovrsea.com/v1/documents")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cf.ovrsea.com/v1/documents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "3f1c9a2e-7b4d-4e8a-9c61-2d5f0b8e4a17",
"name": "packing-list-export.pdf",
"type": null,
"ovrsea_shipment_id": "BB-BATD-5",
"quote_request_id": "BB-BATD-5",
"link": "https://client.ovrsea.com/documents/packing-list-export.pdf/download",
"size": 20000,
"uploaded_at": "2021-10-11"
}
]{}Fetch all documents
Fetch all your documents, or all documents associated to one of your shipments.
curl --request GET \
--url https://api.cf.ovrsea.com/v1/documentsimport requests
url = "https://api.cf.ovrsea.com/v1/documents"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.cf.ovrsea.com/v1/documents', 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.cf.ovrsea.com/v1/documents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.cf.ovrsea.com/v1/documents"
req, _ := http.NewRequest("GET", url, nil)
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.cf.ovrsea.com/v1/documents")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cf.ovrsea.com/v1/documents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "3f1c9a2e-7b4d-4e8a-9c61-2d5f0b8e4a17",
"name": "packing-list-export.pdf",
"type": null,
"ovrsea_shipment_id": "BB-BATD-5",
"quote_request_id": "BB-BATD-5",
"link": "https://client.ovrsea.com/documents/packing-list-export.pdf/download",
"size": 20000,
"uploaded_at": "2021-10-11"
}
]{}Query Parameters
Preview: Filter by document type.
arrival_notice, atr, autoliquidation, awb_draft, bae, besc, bl_draft, booking_confirmation, packing_list, commercial_invoice, carrier_delivery_note, certified_commercial_invoice, master_bill_of_lading, house_bill_of_lading, master_airway_bill, house_airway_bill, proof_of_delivery, dangerous_goods_declaration, material_safety_data_sheet, customs_value_additional_invoice, departure_notice, direct_airway_bill, direct_bill_of_lading, draft, exa, exporter_certificate, freight_forwarder_declaration, hbl_telex, health_certificate, cmr, insurance_order, isf, labels, load_plan, master_packing_list, mrn, nra, origin_certificate, other, ima, power_of_attorney_customs_declaration, power_of_attorney_eur1, eur1, entry_summary, t1, cargo_manifest, cargo_screening, lithium_certificate, carta_de_plastico, levante, ddi, dde, pickup_form, rds, rex, safety_document, shippers_letter_of_instructions, tariff_classification_report, temperature_report, tsa, vgm, warehouse_receipt_number Response
Returns all documents.
Identifies the document type selected or displayed in the platform.
null: A document without a public type leaves the type field out of the response.
arrival_notice: Notice of a shipment's arrival.
atr: ATR customs document.
autoliquidation: Autoliquidation document.
awb_draft: Draft air waybill.
bae: BAE export document.
besc: BESC customs document.
bl_draft: Draft bill of lading.
booking_confirmation: Booking confirmation.
cargo_manifest: Cargo manifest.
cargo_screening: Cargo screening document.
carrier_delivery_note: Carrier delivery note.
carta_de_plastico: Carta de Plastico document.
certified_commercial_invoice: Certified commercial invoice.
cmr: CMR consignment note.
commercial_invoice: Commercial invoice.
customs_value_additional_invoice: Additional invoice for customs value.
dangerous_goods_declaration: Dangerous goods declaration.
ddi: DDI customs document.
dde: DDE customs document.
departure_notice: Notice of a shipment's departure.
direct_airway_bill: Direct air waybill.
direct_bill_of_lading: Direct bill of lading.
draft: Document marked as a draft.
entry_summary: Customs entry summary.
eur1: EUR1 preferential-origin document.
exa: EXA exit ECS document.
exporter_certificate: Exporter certificate.
freight_forwarder_declaration: Freight forwarder declaration.
hbl_telex: Telex release of a house bill of lading.
health_certificate: Health certificate.
house_airway_bill: House air waybill.
house_bill_of_lading: House bill of lading.
insurance_order: Insurance order.
ima: IMA customs document.
isf: Importer Security Filing.
labels: Shipment labels.
levante: Levante customs document.
lithium_certificate: Lithium certificate.
load_plan: Load plan.
master_airway_bill: Master air waybill.
master_bill_of_lading: Master bill of lading.
master_packing_list: Master packing list.
material_safety_data_sheet: Material safety data sheet.
mrn: Movement reference number.
nra: NRA customs document.
origin_certificate: Certificate of origin.
other: Other document type.
packing_list: Packing list.
pickup_form: Pickup form.
power_of_attorney_customs_declaration: Power of attorney for a customs declaration.
power_of_attorney_eur1: Power of attorney for EUR1.
proof_of_delivery: Proof of delivery.
rds: RDS customs document.
rex: REX customs document.
safety_document: Safety document.
shippers_letter_of_instructions: Shipper's letter of instructions.
tariff_classification_report: Tariff classification report.
temperature_report: Temperature report.
t1: T1 customs document.
tsa: TSA document.
vgm: Verified gross mass.
warehouse_receipt_number: Warehouse receipt number.
Document types can be added. Ignore values you do not know.
null, arrival_notice, atr, autoliquidation, awb_draft, bae, besc, bl_draft, booking_confirmation, packing_list, commercial_invoice, carrier_delivery_note, certified_commercial_invoice, master_bill_of_lading, house_bill_of_lading, master_airway_bill, house_airway_bill, proof_of_delivery, dangerous_goods_declaration, material_safety_data_sheet, customs_value_additional_invoice, departure_notice, direct_airway_bill, direct_bill_of_lading, draft, exa, exporter_certificate, freight_forwarder_declaration, hbl_telex, health_certificate, cmr, insurance_order, isf, labels, load_plan, master_packing_list, mrn, nra, origin_certificate, other, ima, power_of_attorney_customs_declaration, power_of_attorney_eur1, eur1, entry_summary, t1, cargo_manifest, cargo_screening, lithium_certificate, carta_de_plastico, levante, ddi, dde, pickup_form, rds, rex, safety_document, shippers_letter_of_instructions, tariff_classification_report, temperature_report, tsa, vgm, warehouse_receipt_number 