Guides
How it works
- Optionally, check coverage first: whether pilots work at the address, and what such a job usually costs.
- You post a job for one of your customers (for example a roofer who needs a roof inspected), and add photos of the site if you have them.
- SkyLog sends it to drone pilots who cover that location. They send quotes.
- Your customer is the client on SkyLog. By default they get an email for each quote and can message pilots and hire one on SkyLog. Every email signs them in, so they never need a password. Your name and logo are on those emails, and their job page links back to your app.
- Or your app does all of it, and your customer never needs to open SkyLog: read the quotes, message each pilot as the customer, accept or decline quotes, follow the flight date, mark the job complete or cancel it. Turn off the key's Email the customer setting and SkyLog stops emailing them too.
- You can also change an open job, or get a link that signs the customer into their job from your app.
- After the flight, the pilot sends the files. You get them through the API too: Deliveries.
- Webhooks tell your server the moment a quote or a message arrives, the job is booked, the flight is scheduled or the files are in.
Prefer a client library? See SDK and OpenAPI.
Getting access
- Sign up your business (opens in a new tab) (or, already signed in, add a business to your account (opens in a new tab)).
- Create a test key in SkyLog API → API keys and build against test mode.
- SkyLog reviews every business by hand. Once yours is approved you'll get an email, and you can create live keys.
Authentication
Send your API key on every request:
Authorization: Bearer sk_live_... (or sk_test_...)Keep the key on your server and never put it in a browser or mobile app.
Manage keys in your business account: create one (the full key is shown once), roll it (you get a new key with the same settings, and the old one keeps working for 24 hours so you can deploy without downtime), or revoke it (refused from the next request on). Only an owner of the business can change live keys.
Key access
| Setting | Default | |
|---|---|---|
| Access | Full | Read only: the key can only make GET requests; anything else is refused with read_only_key. For reporting tools and dashboards. |
| Allowed IP addresses | Any | Up to 20 IPv4/IPv6 addresses or CIDR ranges (203.0.113.0/24). A request from anywhere else is refused with ip_not_allowed. |
Key settings
Each key carries settings for the jobs posted with it. They're copied onto each job when it's created, so changing a key never changes a job already posted.
| Setting | Default | |
|---|---|---|
| Index jobs on Google | on | Off: the job's page carries noindex and is never offered to search engines. It is still on the SkyLog job board and sent to pilots near the job. |
| Post jobs without a customer email | on | On: a job sent without customer is posted on your business's own SkyLog account, and its quotes and messages come to you. Off: such a job is refused with invalid_request on customer.email. |
| Email the customer | on | On: SkyLog emails (and, if they opted in, texts) your customer about quotes, messages, the flight and the files, in your name. Off: SkyLog sends them nothing and your app tells them, with the API and webhooks. SkyLog's reminders and its automatic closing of quiet jobs are off too: you end the job. A job can override the key with notify_customer. |
Test mode
A test key (sk_test_…) works as soon as you sign up. It takes the same requests and returns the same objects, with "livemode": false, and runs the same checks (service, market, address, completeness). But test jobs and quotes are kept apart: no pilot, customer, email, job board or search engine ever sees them, and they're never billed.
Pilots don't quote on test jobs, so you play the pilot with the test helpers:
| Call | Does |
|---|---|
POST /test/jobs/:id/quotes | A quote from a stand-in pilot: firm, range or needs_info (quote.created). |
POST /test/quotes/:id/messages | A message from the pilot in the quote's thread (message.created). |
POST /test/quotes/:id/revise | The pilot changes their quote, e.g. a needs_info one made firm (quote.updated). |
POST /test/jobs/:id/schedule | The booked pilot confirms or moves the flight date (job.scheduled). |
POST /test/jobs/:id/delivery | The booked pilot sends files, and can release them (delivery.sent, delivery.released). |
Everything your side does (accepting, declining, messages, completing, cancelling) works as it does live. With a live key the helpers return test_mode_only. Test photos are fetched and checked like live ones, then only listed, never stored.
The customer link of a test job opens your own business account instead of signing a customer in.
Test and live data never mix: a test key can't read a live job, and the reverse. Idempotency keys are separate per mode too.
Conventions
| Format | JSON in and out. Send Content-Type: application/json. |
| Money | { "amount": 28900, "currency": "USD" }. amount is an integer in the currency's smallest unit (cents). currency is ISO 4217. |
| Countries | ISO 3166-1 alpha-2 (US). |
| Dates and times | Timestamps are ISO 8601 in UTC. scheduled_date is YYYY-MM-DD in the job site's local time. |
| Languages | customer.locale is a BCP 47 tag (en-US). It sets the language of your customer's emails. |
| IDs | UUIDs. |
| Versioning | Within v1 we only add fields, enum values and endpoints. Ignore fields you don't recognise. |
| Request IDs | Every response has a Request-Id header. Quote it when you contact support. |
Markets
A job's market comes from its location: the country decides the currency and which pilots see it. Open markets:
| Market | Countries | Currency |
|---|---|---|
| US | US | USD |
A job anywhere else is refused with market_unavailable. More markets will open over time, with no change to the API.
Idempotency
Send Idempotency-Key: <unique string> on POST requests. If a request times out, retry with the same key and body: you get the original response, with Idempotent-Replayed: true, and the job is not created twice. Keys are remembered for 24 hours.
Separately, reference (your own ID for the job) is unique per partner. Posting a second job with the same reference fails with reference_exists, and the error includes the existing job_id.
Pagination
List endpoints return { "object": "list", "data": [ … ], "has_more": true }. limit sets the page size (1 to 100). For the next page, pass the id of the last item you have as starting_after, until has_more is false. The TypeScript SDK's jobs.listAll() does this for you.
Errors
{ "error": { "code": "market_unavailable", "message": "…", "param": "location.country" } }Branch on code. message is for developers and may change. param names the field at fault, when there is one.
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_json | The body is not a JSON object. |
| 400 | invalid_request | A field is missing or invalid. See param. |
| 401 | unauthorized | The API key is missing, invalid or revoked. |
| 403 | forbidden | Your business account is suspended, or this is a live key and SkyLog hasn't approved your business yet. |
| 403 | customer_blocked | This customer's SkyLog account can't post jobs. |
| 404 | not_found | No such job or quote for your account. |
| 409 | reference_exists | A job with this reference exists. See job_id. |
| 409 | customer_is_pilot | The customer email belongs to a pilot account. Use the customer's own email. |
| 409 | job_not_open | The job is no longer open (see job_status). |
| 409 | quote_not_acceptable | The quote can't be accepted (it isn't pending, or it has no fixed price yet). |
| 409 | quote_not_declinable | The quote can't be declined (it was accepted or withdrawn, or SkyLog handles this job's quotes). |
| 409 | messaging_unavailable | Pilots on this job are reached through SkyLog, not messages. |
| 409 | job_not_booked | The job has no booked pilot (see job_status). |
| 409 | files_not_released | The pilot sent files that aren't released yet, so the job can't be completed. |
| 409 | job_not_cancellable | The pilot has already sent the files, or the job is complete. |
| 409 | customer_link_unavailable | This customer signs in themselves. See Create a customer link. |
| 409 | request_in_progress | A request with this Idempotency-Key is still running. Retry shortly. |
| 409 | too_many_photos | The job has the most photos of that kind it can. Delete one first. |
| 403 | test_mode_only | A test-mode endpoint was called with a live key. |
| 403 | read_only_key | This key is read-only and the request wasn't a GET. |
| 403 | ip_not_allowed | The request came from an address outside the key's allowlist. |
| 404 | no_delivery | The pilot hasn't sent files for this job yet. |
| 422 | photo_unavailable | SkyLog couldn't use the photo at that URL (see message). |
| 429 | rate_limited | Too many requests this minute. See Rate limits. |
| 422 | idempotency_key_reused | The Idempotency-Key was used with a different request. |
| 422 | market_unavailable | SkyLog doesn't take jobs in that country through the API yet. |
| 422 | location_not_found | The address couldn't be found. Send a fuller address, or lat and lng. |
| 422 | currency_mismatch | The budget currency isn't the market's currency. |
| 422 | incomplete_job | Pilots couldn't price the job. See missing. |
| 503 | temporarily_unavailable | A dependency is down. Retry with backoff. |
| 500 | internal_error | Our fault. Retry with the same Idempotency-Key. |
Services
Every job has a service: the broad kind of work, like inspection or wedding. It decides which pilots hear about the job. What the job really is goes in your title and description, in your customer's words: what's there, what they need, how big it is, how soon. Pilots price from the description, and ask in a message when something's missing.
Send a title too: it's the first thing pilots see. Without one, a generic title is written from the service, e.g. "Drone inspection in Phoenix".
If none fits, use other. Codes are never renamed or removed. New ones are added.
service | For |
|---|---|
inspection | Inspection. Roofs, insurance claims, facades, solar, towers, bridges and any other inspection. |
mapping_survey | Mapping and survey. Orthomosaic maps, topographic surveys, 3D models and stockpile volumes. |
construction | Construction. Progress photos and video of a building site. |
real_estate | Real estate. Listing photos and video of a home, building or land. |
wedding | Wedding. Aerial photos and video of a wedding. |
event | Event. Festivals, sports, concerts and corporate events, including live streams. |
film_tv | Film and TV. Aerial footage for a film, TV show, advert or music video. |
agriculture | Agriculture. Crop health mapping, spraying and other farm work. |
other | Something else. Any drone job that fits none of the above. |
Deliverables
Optionally, say what the pilot hands over in deliverables: one entry per thing, with a kind, a quantity and, if it matters, a format in your own words. Pilots see it as a list on the job, next to the description. Leave it out and the description is the whole brief.
"deliverables": [
{ "kind": "aerial_photos", "quantity": 25, "format": "JPEG + RAW" },
{ "kind": "edited_video", "quantity": 1, "format": "60 seconds" },
{ "kind": "other", "quantity": 1, "format": "Roof measurement report (PDF)" }
]The format examples below are what the SkyLog website offers. Any text is fine. For other, format is required: it says what the thing is.
kind | What | Counted in | format, for example |
|---|---|---|---|
aerial_photos | Aerial photos | photos | High-res JPEG · JPEG + RAW files |
ground_photos | Ground photos (DSLR) | photos | Exterior + interior · Exterior only · Interior only |
twilight_photos | Twilight photos | photos | High-res JPEG · JPEG + RAW files |
aerial_pano | 360° aerial panorama | panoramas | Interactive link · Equirectangular file |
aerial_clips | Aerial video clips | clips | 4K · 60 fps · 4K · 30 fps · 1080p |
edited_video | Edited video | videos | 60–90 sec · 30 sec · 2–3 min · Longer than 3 min |
social_reel | Vertical reel (9:16) | reels | 30 sec · 15 sec · 60 sec |
raw_footage | Raw footage | minutes | 4K · 1080p |
livestream | Live stream | hours | 1080p · 720p |
floor_plan | Floor plan | plans | 2D · 2D with measurements · 3D |
virtual_tour | 3D virtual tour | tours | Matterport · Other platform |
other | Other | items | Say what it is |
Webhooks
Instead of polling, register an HTTPS endpoint in SkyLog API → Webhooks and SkyLog POSTs an event to it whenever something happens to one of your jobs, whether it happened through the API or on the SkyLog website (a pilot quoting, your customer hiring).
Test endpoints get test-mode events only, and live endpoints live events only. Each endpoint can take every event type (including ones added later) or only the ones you pick.
Each delivery is an event: type says what happened (every type, with what it carries) and data holds the job and, depending on the type, the quote, message or delivery, as they were when the event was first sent. New event types may be added: ignore types you don't handle, and still answer them with a 2xx.
Answering
Answer with any 2xx within 10 seconds. Do the work afterwards (put the event on a queue): a slow answer is a failed delivery. Redirects are not followed.
A failed delivery is retried after 1 minute, 5 minutes, 30 minutes, 2 hours, 5 hours, 10 hours, 24 hours and 30 hours: 9 attempts over about 3 days. If an endpoint fails every delivery for 5 days, SkyLog switches it off and emails your business's owners. The endpoint's page has a log of every delivery (status, response, payload) and you can send any of them again from there.
Events can arrive more than once, and not necessarily in order. Use webhook-id (the event id) to skip ones you've already handled, and created_at or a fresh read of the job to order them.
Verifying signatures
Deliveries are signed per Standard Webhooks (opens in a new tab), so any of its libraries can verify them. Each request has:
| Header | |
|---|---|
webhook-id | The event id. The same on every retry. |
webhook-timestamp | Unix seconds when this attempt was sent. |
webhook-signature | v1,<signature>: base64 HMAC-SHA256 of {webhook-id}.{webhook-timestamp}.{body}, keyed with your endpoint's signing secret (the base64 part after whsec_). After you roll the secret, both the new and the old signature are sent for 24 hours, space-separated. |
Check the signature against the raw body, before parsing it, and refuse a timestamp more than 5 minutes off.
import crypto from "node:crypto";
function verify(secret, headers, rawBody) {
const id = headers["webhook-id"];
const ts = headers["webhook-timestamp"];
if (Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false;
const key = Buffer.from(secret.replace(/^whsec_/, ""), "base64");
const expected = crypto.createHmac("sha256", key).update(`${id}.${ts}.${rawBody}`).digest("base64");
return headers["webhook-signature"].split(" ").some((part) => {
const sig = part.split(",")[1] ?? "";
return sig.length === expected.length && crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected));
});
}Or with the official library: new Webhook(secret).verify(rawBody, headers) from the standardwebhooks package.
In test mode, post a test job and use the test helpers to watch the events arrive.
Rate limits
Each business can make 120 requests a minute with live keys, and 120 with test keys, counted separately. Every response carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (seconds until the minute restarts). Over the limit you get 429 with rate_limited and a Retry-After header. Ask us if you need more.
SDK and OpenAPI
- OpenAPI 3.1: openapi.json (opens in a new tab), for code generators, Postman and the like. No key needed.
- TypeScript client: one file with no dependencies, skylog.ts (opens in a new tab). It runs wherever
fetchand Web Crypto do (Node 18+, Deno, Bun, Workers), retries safely with idempotency keys, and verifies webhooks.
Install it from npm (opens in a new tab):
npm install @skylogtech/partner-apiOr, without npm, download the one file into your project and import it from "./skylog" like your own code. The download always matches the live API; SKYLOG_SDK_VERSION says which version you have.
curl -o src/skylog.ts https://skylog.tech/api/v1/sdk/typescriptimport { SkyLog, verifyWebhook } from "@skylogtech/partner-api";
const skylog = new SkyLog(process.env.SKYLOG_KEY!);
const job = await skylog.jobs.create({
service: "inspection",
title: "Roof leak inspection in Phoenix",
description: "Two-storey house, asphalt shingle roof about 12 years old. Leak over the kitchen.",
location: { address: "1 E Washington St, Phoenix, AZ 85004", country: "US" },
customer: { email: "[email protected]" },
});
// In your webhook handler, with the raw body:
const event = await verifyWebhook(process.env.SKYLOG_WEBHOOK_SECRET!, rawBody, request.headers);