Create an enquiry
Create a new enquiry. Can be created independently or via a qualification form.
Authorizations
API Key authentication. Use "Bearer YOUR_API_KEY".
Body
The ID of the qualification configuration the enquiry was submitted against.
The enquirer's email address.
The enquirer's phone number.
The enquirer's full name.
The ID of the consumer user the enquiry should be linked to.
Qualification data submitted with the enquiry.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Response
Returns the enquiry object if the request succeeded.
Unique identifier for the object.
Time at which the object was created. Measured in seconds since the Unix epoch.
leads.enquiry The enquirer's email address.
The enquirer's full name.
The enquirer's phone number.
The qualification configuration the enquiry was submitted against, if any.
The qualification data captured for this enquiry.
Referral metadata captured when the enquiry was submitted.
The status of the enquiry.
new, pending, qualified, disqualified The account that the object belongs to. Only returned if the request is made with a valid Yorlet-Context header.
Only returned if the object has been deleted.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.