curl --request GET \
--url https://sendpaperplane.com/v1/orders/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sendpaperplane.com/v1/orders/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sendpaperplane.com/v1/orders/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sendpaperplane.com/v1/orders/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sendpaperplane.com/v1/orders/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://sendpaperplane.com/v1/orders/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sendpaperplane.com/v1/orders/{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 => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://sendpaperplane.com/v1/orders/{id}")
.header("Authorization", "Bearer <token>")
.asString();{
"status": "ok",
"order": {
"id": "ord_1a2b3c4d5e6f7a8b",
"status": "mailed",
"sandbox": false,
"mail_class": "first_class",
"page_count": 1,
"color": false,
"to": {
"name": "Jordan Rivera",
"city": "Springfield",
"state": "IL",
"zip": "62704"
},
"price_cents": 199,
"breakdown": [
{
"id": "first_class_letter_1_page",
"label": "First-Class letter, 1 page",
"amount_cents": 199
}
],
"tracking_number": null,
"expected_delivery_date": null,
"refusal_reason": null,
"created_at": "2026-08-23T12:00:00.000Z",
"updated_at": "2026-08-23T14:30:00.000Z"
}
}{
"status": "failed",
"code": "<string>",
"reason": "<string>",
"next": [
"<string>"
]
}{
"status": "failed",
"code": "<string>",
"reason": "<string>",
"next": [
"<string>"
]
}{
"status": "failed",
"code": "<string>",
"reason": "<string>",
"next": [
"<string>"
]
}{
"status": "failed",
"code": "<string>",
"reason": "<string>",
"next": [
"<string>"
]
}Fetch an order
Free — read-only, no charge. Poll this for status after a send. Terminal statuses are delivered, refused, canceled, and failed; the rest (draft, pending_payment, screening, held_for_review, submitted, mailed) still move. Prefer webhook_url on the order over polling.
curl --request GET \
--url https://sendpaperplane.com/v1/orders/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sendpaperplane.com/v1/orders/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sendpaperplane.com/v1/orders/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sendpaperplane.com/v1/orders/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sendpaperplane.com/v1/orders/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://sendpaperplane.com/v1/orders/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sendpaperplane.com/v1/orders/{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 => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://sendpaperplane.com/v1/orders/{id}")
.header("Authorization", "Bearer <token>")
.asString();{
"status": "ok",
"order": {
"id": "ord_1a2b3c4d5e6f7a8b",
"status": "mailed",
"sandbox": false,
"mail_class": "first_class",
"page_count": 1,
"color": false,
"to": {
"name": "Jordan Rivera",
"city": "Springfield",
"state": "IL",
"zip": "62704"
},
"price_cents": 199,
"breakdown": [
{
"id": "first_class_letter_1_page",
"label": "First-Class letter, 1 page",
"amount_cents": 199
}
],
"tracking_number": null,
"expected_delivery_date": null,
"refusal_reason": null,
"created_at": "2026-08-23T12:00:00.000Z",
"updated_at": "2026-08-23T14:30:00.000Z"
}
}{
"status": "failed",
"code": "<string>",
"reason": "<string>",
"next": [
"<string>"
]
}{
"status": "failed",
"code": "<string>",
"reason": "<string>",
"next": [
"<string>"
]
}{
"status": "failed",
"code": "<string>",
"reason": "<string>",
"next": [
"<string>"
]
}{
"status": "failed",
"code": "<string>",
"reason": "<string>",
"next": [
"<string>"
]
}Authorizations
Optional developer API key: Authorization: Bearer pp_live_… (or pp_test_… for a sandbox-only key). Omitting it is a supported way to call every route. A key that is sent and does not verify is refused with 401 rather than treated as anonymous, so a typo fails loudly instead of quietly losing the restriction you meant to apply. Enabled per deployment via SCOPED_API_KEYS.
Path Parameters
Order id, e.g. ord_1a2b3c4d5e6f7a8b (sandbox orders are ord_test_...).
Response
The order
"ok"Hide child attributes
Hide child attributes
draft, pending_payment, screening, held_for_review, submitted, mailed, delivered, refused, canceled, failed first_class, certified, certified_err, priority -9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991Was this page helpful?