Skip to main content
Create Form Submission

Create an automated form submission with lead information and custom answers.

Geoff Mina avatar
Written by Geoff Mina
Updated over a year ago

Create a new form submission in your Moxie CRM which can optionally be attached to a Form Template or create an opportunity in your Sales Pipeline.
โ€‹
Endpoint: /action/formSubmissions/create

Method: POST

Request Body (example):

{
"formName": "",
"firstName": "",
"lastName": "",
"email": "",
"phone": "",
"role": "",
"businessName": "",
"website": "",
"address1": "",
"address2": "",
"city": "",
"locality": "",
"postal": "",
"country": "",
"sourceUrl": "",
"leadSource": "",
"notes": "",
"pipelineStageName": "",
"answers": [
{
"fieldKey": "",
"question": "",
"answer": ""
}
]
}

Properties that require further clarification:

  • formName - Optional (but suggested) - associate the submission with an existing form template in your Moxie workspace for reporting purposes.

  • pipelineStageName - Optional - If you want the form submission to automatically create an Opportunity in your pipeline, provide the name of one of your stages - must match exactly

  • answers - Optional - Array of answer objects to capture additional questions and answers.

    • fieldKey - Required - used as the property on the field for reporting and token mapping

    • question - Required - the question text associated with this answer object

    • answer - Required - the answer the person provided to your question

Did this answer your question?