The standard path most partners ship. Set up a bundle once, then for each customer: check domain availability, place an order, and listen for webhooks. Sandbox keys (Documentation Index
Fetch the complete documentation index at: https://docs.peeker.ai/llms.txt
Use this file to discover all available pages before exploring further.
pk_test_…) return synthetic data instantly and never bill.
Steps in detail
1. Create your bundles
1. Create your bundles
A bundle is a saved order template sized by monthly sending volume. Create the bundles you want to offer customers once —
POST /bundles needs a name and monthly_sending_volume. Optionally set a google_percent / microsoft_percent split; skip it to inherit Peeker’s recommended mix.You reference the returned bun_… ID on every order — the bundle resolves the Google/Microsoft license counts for you, so you never pass raw license numbers.cURL
201 Created
2. Check domain availability
2. Check domain availability
Generate domain candidates yourself, or let the customer type them in a search box. Send up to 25 per call to
POST /domains/availability. Each available: true row returns the domain name, price_cents (first-year registration cost), renewal_price_cents (yearly renewal cost), and usable_for. Unavailable rows return available: false with a reason.cURL
200 OK
3. Submit the order
3. Submit the order
POST /orders provisions everything in one call. It creates or reuses the customer by email. You pass:bundle_id— the bundle from step 1; resolves the license mix.useroruser_id— create/reuse the customer by email, or attach the order to an existing Peeker user.sequencer— Smartlead routing plus the login credentials Peeker uses internally for provider submission.forwarding_url— the default redirect for every domain in the order.domains— the available domains you picked, selected to satisfy the bundle’s Microsoft split.users— the personas (first/last names) used to generate inbox names.
cURL
200 OK
4. Listen for the webhook
4. Listen for the webhook
Configure your endpoint in the Partner portal → Webhooks before placing the order. Events fire in this sequence:The
order.completed payload is the full provisioned order — drop it straight into your UI. Verify the signature before trusting any payload.Webhook · order.completed
Live orders return
order.in_progress immediately. Google and Microsoft orders typically complete within 24 hours — Google can take up to 48 hours when domains need to run through Peeker’s recovery flow. Sandbox completes in seconds.What’s next
Importing domains & ordering
The separate flow for domains the customer already owns — import, not availability check.
Buying domains & ordering
More detail on the registrar-sourced order path.
Best practices
Rate limits, errors, paging, idempotency, pending actions.