Skip to content
Pile
Esc
↑↓navigate↵open⌘Jpreview

Create intake quote request sync

Import Vortex pricing-calculator quote requests (/v1/operator/quote-requests) as inbound leads. Each row upserts a customer keyed on externalId “vortex-quote:<id>”, writes the self-reported volume figures to customFields, upserts the contact, opens a lead-stage deal unless the merchant is already in the pipeline, and records a revenue_estimate signal. Pass quoteRequests inline or an operator key to pull from the Vortex API.

POST/workspaces/{organizationId}/intake/quote-requests/sync
Authorization
AuthorizationBearer token · headerrequired

Workspace API key (Authorization: Bearer <key>). Issue keys under Settings → Developer or POST /workspaces/{organizationId}/tokens.

Path parameters
organizationIdstringrequired
Request body
application/json
quoteRequestsobject[]
Show properties
Array of object
idstringrequired
min length 1
businessNamestring | null
merchantNamestring | null
companyNamestring | null
contactEmailstring | null
contactNamestring | null
contactPhonestring | null
monthlyVolumeCentsnumber | null
avgTicketCentsnumber | null
currentProcessorstring | null
effectiveRateBpsnumber | null
estimatedAnnualSavingsCentsnumber | null
notesstring | null
createdAtstring | null
vortexOperatorKeystring
Responses
200

Quote requests synced

syncedintegerrequired
createdintegerrequired
updatedintegerrequired
customersobject[]required
Show properties
Array of object
idstringrequired
namestringrequired
externalIdstring | nullrequired
estMonthlyVolumeCentsnumber | nullrequired
scorenumber | nullrequired
400

Invalid request

502

Vortex API fetch failed

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'https://pile.nyc/workspaces/string/intake/quote-requests/sync' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "quoteRequests": [
    {
      "id": "string",
      "businessName": "string",
      "merchantName": "string",
      "companyName": "string",
      "contactEmail": "string",
      "contactName": "string",
      "contactPhone": "string",
      "monthlyVolumeCents": 0,
      "avgTicketCents": 0,
      "currentProcessor": "string",
      "effectiveRateBps": 0,
      "estimatedAnnualSavingsCents": 0,
      "notes": "string",
      "createdAt": "string"
    }
  ],
  "vortexOperatorKey": "string"
}'
Response
{
  "synced": 0,
  "created": 0,
  "updated": 0,
  "customers": [
    {
      "id": "string",
      "name": "string",
      "externalId": "string",
      "estMonthlyVolumeCents": 0,
      "score": 0
    }
  ]
}

Was this page helpful?