diff --git a/src/GetResponseAPI3.class.php b/src/GetResponseAPI3.class.php index 2782e2f..88b340b 100644 --- a/src/GetResponseAPI3.class.php +++ b/src/GetResponseAPI3.class.php @@ -326,6 +326,17 @@ public function getForms($params = array()) { return $this->call('forms?' . $this->setParams($params)); } + + /** + * retrieve all from-fields + * @param array $params + * + * @return mixed + */ + public function getFromFields($params = array()) + { + return $this->call('from-fields?' . $this->setParams($params)); + } /** * Curl run request @@ -403,4 +414,4 @@ private function setParams($params = array()) return http_build_query($result); } -} \ No newline at end of file +}