HTML Form submission to ticket

HTML Form submission to ticket

You can create an HTML form and submit it as a ticket to your Bold360 AI inbox.

Your Bold360 AI inbox will receive a ticket, containing all the fields that are part of the submitted form.

Below is an example of an HTML form that submits a ticket to the Bold360 AI inbox:

<!DOCTYPE html>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Create ticket API (Custom Contact-Form)</title>
<form action="" method="post" enctype="multipart/form-data">
Subject: <input type='text' name='subject' value='This is the title of the ticket' 
/><br />
Body: <textarea name="body">This is the body of the ticket</textarea><br />
Email: <input type='text' name='email' value='' /><br />
Name: <input type='text' name='name' value='johnny' /><br /> <!-- name custom field. You can create as many fields as you like. -->
Phone: <input type='text' name='phone' value='123456' /><br /> <!-- phone custom field. You can create as many fields as you like. -->
Label: <select name='labelId'> <!-- label selection by the dropdown selection-->
<option value='-1'>Select the inquiry type:</option>
<option value='12F1BE'>Billing</option> <!-- The value of the label (Label ID) can be obtained in the Bold360 ai inbox.  -->
<option value='78907B'>Support</option>
<option value='103C8C'>General</option>
<option value='9E0A'>Sales</option>
</select><br />
<div id='textD'></div> <input type="hidden" name='account' value='Nanorep' /> <!-- Enter your Bold360 ai account name --> <input type="hidden" name='kb' value='8CB9462F7AB2120' /> <!-- The target knowledge-base / inbox --> <input type="hidden" name='security_token' value='8CB9462F7AB2120' /> <!-- Please do not modify --> <input type="hidden" name='success_redirection_url'  value="/common/api/nonProtocolCreateTicketResponse.html" /> <!-- success url redirection -->
<input type="submit" value="submit"/>

The HTML form should meet the following requirements:

  1. The form must contain the four hidden fields (account, KB, security_taken and success_redirection_url).
  2. The form should POST to
  3. The KB is the target knowledge-base. The KB ID can be obtained by clicking on Admin Center > Ticketing Settings > Ticketing Basic.
  4. The security_token should be the same as the knowledge base.

The ticket will be available in the Bold360 AI inbox and will include all the fields, which will be displayed under the ticket Details section.