Skip to main content
POST
/
applications
JavaScript
import Gizmo from '@gizmo-os/sdk';

const client = new Gizmo({
  apiKey: 'My API Key',
});

const application = await client.applications.create({
  leadProviderSlug: 'leadProviderSlug',
  primaryBorrowerEmail: 'primaryBorrowerEmail',
  primaryBorrowerFirstName: 'primaryBorrowerFirstName',
  primaryBorrowerLastName: 'primaryBorrowerLastName',
  primaryBorrowerPhone: 'primaryBorrowerPhone',
  subjectPropertyState: 'al',
});

console.log(application.id);
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
primaryBorrowerFirstName
string
required
primaryBorrowerLastName
string
required
primaryBorrowerEmail
string
required
primaryBorrowerPhone
string
required
subjectPropertyState
enum<string>
required

The two-letter state abbreviation in lowercase

Available options:
al,
ak,
az,
ar,
ca,
co,
ct,
de,
dc,
fl,
ga,
hi,
id,
il,
in,
ia,
ks,
ky,
la,
me,
md,
ma,
mi,
mn,
ms,
mo,
mt,
ne,
nv,
nh,
nj,
nm,
ny,
nc,
nd,
oh,
ok,
or,
pa,
ri,
sc,
sd,
tn,
tx,
ut,
vt,
va,
wa,
wv,
wi,
wy
leadProviderSlug
string
required
primaryBorrowerDateOfBirth
string
primaryBorrowerSsn
string
subjectPropertyStreetAddress
string
subjectPropertyCity
string
subjectPropertyZip
string
loanPurpose
enum<string>
Available options:
purchase,
refi,
refiCashOut
losId
string
crmId
string

Response

The created Application ID

id
string
required
Required string length: 32