Process enquiry

Add a Holding Area enquiry to the database as a contact, with its note and optional buyer requirement.

POST https://cotlet.dev/api/v1/vaultre/enquiries/{enquiry_id}/process

write Confirm

Does what Review and Create Enquiry does. Without contact_id, Vault's suggested match is used if there is one; set create_new_contact to true when the enquiry is a different person. Vault writes the enquiry as a note on the contact, and with create_buyer_requirement it links a requirement to the property asked about. Office automations in Vault can react to the new contact. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: process_enquiry
NameTypeDescription
enquiry_id string required string Enquiry ID from list_enquiries.
contact_id string string Add the enquiry to this existing contact.
create_new_contact boolean boolean Create a new contact even if Vault suggests a match. Default: false.
categories array array Contact categories to apply.
create_buyer_requirement boolean boolean Add a buyer requirement for the property asked about. Default: false.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/vaultre/enquiries/enq_80412/process \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contact_id":"51377","create_buyer_requirement":true}'
Python
result = client.call("vaultre", "process_enquiry", {"enquiry_id":"enq_80412","contact_id":"51377","create_buyer_requirement":True})
Node.js
const result = await cotlet.call('vaultre', 'process_enquiry', {"enquiry_id":"enq_80412","contact_id":"51377","create_buyer_requirement":true});
CLI
cotlet call vaultre process_enquiry --data '{"enquiry_id":"enq_80412","contact_id":"51377","create_buyer_requirement":true}'

Example response

JSON

{
  "enquiry_id": "enq_80412",
  "status": "processed",
  "contact_id": "51377",
  "contact_created": false,
  "note_added": true,
  "buyer_requirement_created": true
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.