Creates a new contact on a transaction for the user specified in the request body.
Body
Required
Payload for creating a new transaction contact.
-
GUID of the user creating the contact.
-
GUID of the transaction the contact belongs to.
-
Contact type code identifying the contact's role on the transaction.
Value Contact type 0Buyer 1Seller 2BuyerAgent 3Other 4SellerAgent 5AppraisalCompany 6BuyerLawyer 7BuyerBroker 8CondoAssociationHOA 9EscrowCompany 10Landlord 11SellerBroker 12MortgageAppraiser 13BuyerLendingCompany 14SellerLawyer 15Tenant 16TitleCompany 17Admin 18SellerLendingCompany 19DisclosureCompany 20HomeWarrantyCompany 21PestControlCompany Values are
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20, or21. -
Determines the ordering of contacts of the same type:
1= Buyer 1 / Seller 1,2= Buyer 2 / Seller 2, and so on.Minimum value is
1. -
Name prefix (e.g. Mr., Dr.).
-
Name suffix (e.g. Jr.).
-
First name.
-
Middle name.
-
Last name.
-
Email address.
-
Primary phone number.
-
Cell phone number.
-
Work phone number.
-
Fax number.
-
Agent identifier.
-
Agent license number.
-
Company name.
-
Office identifier.
-
Office license number.
-
Escrow number.
-
Street address, line 1.
-
Street address, line 2.
-
Street address, line 3.
-
Street address, line 4.
-
City / locality.
-
State or province.
-
Postal / ZIP code.
-
Country.
-
LLC / power of attorney designation.
curl \
--request POST 'https://api.pre.lwolf.com/transact-workflow/v1/Contacts' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "lw-subscription-key: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"userId":"string","transactionId":"string","contactType":0,"slot":1,"prefix":"string","suffix":"string","firstname":"string","middlename":"string","lastname":"string","email":"hello@example.com","phone":"string","cellPhone":"string","workPhone":"string","fax":"string","agentId":"string","agentLicense":"string","companyName":"string","officeId":"string","officeLicense":"string","escrowNumber":"string","address1":"string","address2":"string","address3":"string","address4":"string","locality":"string","region":"string","postalCode":"string","country":"string","llcPoa":"string"}'
{
"userId": "string",
"transactionId": "string",
"contactType": 0,
"slot": 1,
"prefix": "string",
"suffix": "string",
"firstname": "string",
"middlename": "string",
"lastname": "string",
"email": "hello@example.com",
"phone": "string",
"cellPhone": "string",
"workPhone": "string",
"fax": "string",
"agentId": "string",
"agentLicense": "string",
"companyName": "string",
"officeId": "string",
"officeLicense": "string",
"escrowNumber": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"address4": "string",
"locality": "string",
"region": "string",
"postalCode": "string",
"country": "string",
"llcPoa": "string"
}
{
"error": "string",
"message": "string"
}
{
"error": "string",
"message": "string"
}
{
"error": "string",
"message": "string"
}
{
"error": "string",
"message": "string"
}