Avalara Developer Network Developer trustFile

TrustFile Provisioning API

Signup endpoints for TrustFile. Provision users via API or add an iframe to a landing page with a signup form.

Testing:

Test this endpoint @ https://stable.trustfile.avalara.com

Security:

Authentication/Auth header is not required for either endpoint

CORS:

Access-Control-Allow-Headers: X-Requested-With


Company Signup

  • All data is expected in the request body in a flat JSON format.
  • User Fields: firstName lastName
  • Company fields: companyName companyPhone companyLine1 companyLine2 companyLine3 companyCity companyZip companyState companyCountry
  • Optional Lead fields: campaignId lsmr integratorId salesUserId salesUserEmail
  • The new user will receive an email to set their password
  • user.company.connectionId will only be passed if the user completes the required fields AND provides a company address
Api Endpoint
POST https://app.trustfile.avalara.com/v3/companies

Headers
Content-Type: application/json

Post Body Parameters

email
Required
string
firstName
string
lastName
string
companyName
string
companyPhone
string
companyLine1
string
companyLine2
string
companyLine3
string
companyState
string
companyCity
string
companyZip
string
companyCountry
string
campaignId
string
lsmr
string
integratorId
string
salesUserId
string
salesUserEmail
string

Response

User
displayName
string
firstName
string
lastName
string
email
string
password

Hashed password

string
accountSetup
boolean
lastLoginAt
string
accountCreated
string
tos
boolean
createdAt
string
updatedAt
string
Company
name
string
isFba
boolean
syncDate
string
connectionId

connectionId. Will not be passed if the address is incomplete.

string
fein
string
phone
string
fax
string
createdAt
string
updatedAt
string
Notification
message
string
Options
level
string