GetWebForms

Overview

Lists Landing Pages (formerly known as Web Forms) for an account based on information sent via an http form post.

Post Url

https://www.allclients.com/api/2/GetWebForms.aspx
  • SSL is requred
  • White Label CRM Customers: Replace www.allclients.com with your White Label CRM domain name.

Form Fields

Field Max Length* Required Notes
response_type No Default results will be returned in XML. Set this field value to json to return results in JSON format
accountid Yes Must be numeric. Account ID for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel
apikey Yes API Key for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel
folder No Filter Landing Pages by the folder they are organized into. (Get a list of folder names from the GetWebFormFolders API call)

Send  “\” backslash character  to list just the Landing Pages that are not in a folder (or in the root folder)

Send this field as blank to list all Landing Pages, not organized by folder.

Sample Results

Success Message

<results>
  <webforms>
    <webform>
      <id>10001</id>
      <accountid>2</accountid>
      <formkey>DE5F3A4028331BA241F2AD45210D120C</formkey>
      <name>Test Web Form 1</name>
      <folder>Lead Pages</folder>
    </webform>
    <webform>
      <id>10024</id>
      <accountid>2</accountid>
      <formkey>1209C2C6AE9C6C8C1610AE1B52DA6FD8</formkey>
      <name>Test Web Form 2</name>
      <folder>Lead Pages</folder>
    </webform>
    <webform>
      <id>10025</id>
      <accountid>2</accountid>
      <formkey>A10BB3E3BEDCBC039D4C55BF75E00109</formkey>
      <name>Test Web Form 3</name>
      <folder>Lead Pages</folder>
    </webform>
  </webforms>
</results>

Sample Failure Message

<?xml version="1.0"?>
<results>
    <error>Authentication failed</error>
</results>