POST /workspaces. Use its Peeker
workspace_id for every later order.
Workspace creation does not use an Idempotency-Key. Orders do.
Connect a workspace
Credentials are stored and never returned. A successful request returns a Peeker ID that starts withwrk_.
credentials.workspace_id is PlusVibe’s own ID. The workspace_id used in orders is always the
Peeker wrk_... ID returned by this API.- Smartlead
- EmailBison
- Instantly
- PlusVibe
label and the main API key are required. The login email and password are
optional, but must be sent together. Do not send client_id or customer when
connecting Smartlead.The login pair is not part of an order. Smartlead Google orders do not need it.
Smartlead Microsoft or mixed orders and pre-warmed pool attach do. If one of
those requests has no saved pair, Peeker returns
422 provider_login_credentials_required before fulfillment starts. Connect
the same main workspace again with the pair, then retry the unchanged request.201. Connecting the same provider workspace again
returns 200 with the same workspace_id. Different credentials for an
existing provider identity return 409 workspace_credentials_conflict.
For an EmailBison, Instantly or PlusVibe workspace already connected in the dashboard,
POST /workspaces returns 409 workspace_promotion_required. Repeat the same
request with "promote_existing": true to enable that workspace without copying it.
Instantly, PlusVibe and direct Smartlead workspaces can also be enabled in the dashboard
under Partner API → Provider workspaces. Use the returned wrk_... ID in orders.
List connected workspaces
GET /workspaces lists both:
- Workspaces connected through the Partner API.
- Regular Peeker workspaces that an owner or admin enabled for Partner API use.
Sync a workspace
Peeker reads each workspace’s domains and mailboxes from the sequencer on a schedule. After you add or remove mailboxes in the sequencer, callPOST /workspaces/{id}/sync to have Peeker read them again now. It returns
202 and runs in the background. Poll GET /workspaces/{id} until syncing
is false. last_synced_at is the time Peeker’s copy matches the sequencer
as of.
Send a Smartlead order
Every order destination has three simple routing fields:provider:smartleadworkspace_id: the main Peeker workspace fromPOST /workspacesclient_id: optional Smartlead client ID
client_id to send to the Smartlead main workspace:
workspace_id in its public
response. Peeker resolves the client destination behind that ID.
Place the order
order.json
bundle_id or custom license fields, never both. On a
custom Google order, set google_licenses to 1, 2, or 3. Peeker creates
that many Google inboxes on every submitted domain. For example, 20 domains
with google_licenses: 2 creates 40 inboxes.
Bundle orders may add quantity. If a bundle requires 20 domains,
"quantity": 2 requires 40 submitted domains and doubles every license count.
Omit quantity to order one copy of the bundle. Custom orders do not accept it.
Choose mailbox usernames
first_name and last_name are required. usernames is optional and contains
only the parts before @.
For a Google domain with two inboxes, one supplied username means Peeker keeps
that username and generates the second:
usernames is omitted, Peeker generates every username. Supplied usernames
must be unique and cannot exceed the Google inboxes assigned to that persona.
Microsoft inboxes
On an order with only Microsoft licenses, either omitusernames on every
persona or name every inbox. To name them, list exactly
microsoft_inboxes_per_domain usernames across all personas. With 99 inboxes
per domain and three personas, that can be 33 usernames on each persona.
Each inbox uses its username on every Microsoft domain in the order, and takes
the first and last name of the persona that lists it. A list that is shorter or
longer than the inbox count returns invalid_request with required_count and
submitted_count.
On an order with both Google and Microsoft licenses, usernames apply to the
Google inboxes only. Peeker generates the Microsoft addresses.
Normal orders and the pre-warmed pool
POST /orders buys and provisions the domains in that order. It never reads,
reserves, attaches, or changes pre-warmed pool inventory.
Only POST /pool/attach can assign pre-warmed domains. See
Assign pre-warmed inboxes.
Retry an order safely
Use one stableIdempotency-Key for each order.
The first accepted response can return
created.order: true. An exact replay
returns created.order: false because no new order was created.
For a temporary 500 or 503, retry the same body with the same key. If a
Smartlead Microsoft order needs a missing login pair, add it through POST /workspaces, then retry the unchanged order with the same key.
See How orders work for statuses, domain counts, and
cancellations.