API Reference

post
Form Submission

https://api.web3canvas.com/submit
This endpoint allows you to submit form submissions. Currently accepts the following options as Form Data. These names are reserved so you should not use these names for your custom form input names.
Request
Response
Request
Form Data Parameters
apikey
required
string
This is where you should pass your Access Key. It is required to send the form to your email address.
email
optional
string
User Email, This will be used to set reply to address. So its easy to follow-up.
subject
optional
string
Email Subject. It can be submitted by user or prefilled using hidden attribute.
ccemail
optional
string
PRO: Add your co-workers to your email notification. Available for PRO users only.
replyto
optional
string
Reply to Email. If you don't want to use email as replyto, you can assign a custom email here.
redirect
optional
string
URL: You can use a custom URL to redirect to a page when the form submits successfully. NOTE: Only recommended when using without JavaScript
botcheck
optional
boolean
Hidden: To prevent Spam Submissions. Make sure its hidden by adding display:none;
Response
200: OK
Form Submitted Successfully
{
"statusCode":200,
"success":true,
"body":{
"data":{
[USER SUBMITTED DATA]
},
"message":"Email sent successfully!"
}
}
400: Bad Request
Could not complete the request due to client error!
{
"statusCode":400,
"success":false,
"body":{
"data":{
[USER SUBMITTED DATA]
},
"message":"Error Description"
}
}
500: Internal Server Error
Something wrong happened in the server!
{
"statusCode":500,
"success":false,
"body":{
"data":{
[USER SUBMITTED DATA]
},
"message":"Something went wrong. "
}
}