DocumentationOnce you have your HelloForms form link you can start building your contact form. We're going to be using
https://helloforms.co/f/5c05cc5b758cfas an example url.
Set your forms
actionattribute to your HelloForms link e.g
action="https://helloforms.co/f/5c05cc5b758cf". Then you can start adding form inputs.
HelloForms has two required inputs
_email. Both required inputs are used for alerting you who submitted a form and what their email is.
||Optional: Alternate email to send the form submission to.|
||Optional: URL that submitee will be redirect to when the form is submitted|
File UploadsIf you're a pro user all of your forms support file uploading, whenever a user uploads a file we validate it and attach it to the submission notification email. You can also view files in your Submission Archive.
To accept files simply add an input with the
filetype and a random name. There are some bugs with file uploads if you have a recaptcha enabled on your HelloForms form.
WebhooksIf you're a pro user you can add up to three webhooks to each form. Whenever a submission is created we'll
POSTall of it's data to your webhook url.
OAuthWe support OAuth allowing developers to create integrations with HelloForms. You can create an OAuth client on your account page. We currently only support one scope,
access-form-endpointsthis allows you to access all of a users form endpoints.
Once you have an access token for a user you can perform a GET request like shown below.
$query = http_build_query([ 'client_id' => 'client-id', 'redirect_uri' => 'http://example.com/callback', 'response_type' => 'code', 'scope' => '*', ]); $authorize_url = 'https://helloforms.co/oauth/authorize?' . $query;
$response = $client->request('GET', '/api/forms', [ 'headers' => [ 'Accept' => 'application/json', 'Authorization' => 'Bearer '.$accessToken, ], ]);