Get started
Quickstart
Step 1: Create a test key
Sign in and open the dashboard. On the Test keys tab, name the key and select Create key. It starts with pt_test_.
The key is shown once
Copy it right away. We store only a hash, so we cannot show it again. If you lose it, revoke it and create another.
Step 2: Store it on your server
Put the key in an environment variable. The API does not accept browser (CORS) requests, so keys belong on your server, never in front-end code.
export POINTIFY_API_KEY="pt_test_..."Step 3: Make a call
Search award seats with POST /v1/search/awards. The date in the example is in the future, so it runs as written.
curl -X POST "https://api.pointifytravels.com/v1/search/awards" \
-H "Authorization: Bearer $POINTIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"origin":"SFO","destination":"NRT","departure_date":"2027-01-23","cabin_class":"business"}'Step 4: Read the response
You get 200 OK with JSON. The Pointify-Mode: test header confirms a test key served the call. With a test key this endpoint returns sample data in the exact live shape, built around your origin, destination and date, without calling any airline.
{
"results": [
{
"program": "Air Canada Aeroplan",
"miles": 75000,
"taxes_usd": 41.2,
"cabin": "business",
"origin": "SFO",
"destination": "NRT",
"date": "2027-01-23",
"source": "seats_aero",
"award_type": "saver",
"flight_number": "NH7",
"seats_remaining": 2,
"transfer_partners": [
"chase_ur",
"amex_mr",
"capital_one"
]
}
],
"total": 1,
"sources_searched": [
"seats_aero"
]
}A wrong value gets 422 with a list of problems, exactly as a live key would. See Errors.
Step 5: Next steps
- Stream a flight search with POST /v1/search and learn the event format in Streaming responses.
- Follow a guide: Find award seats or Cash or points?
- When it works, switch to a live key with the going live checklist.