Wrappers

Flexmail API PHP Wrapper

What

This PHP wrapper wraps around Flexmail's SOAP/WSDL API.

Our wrapper handles the API connection & specific API calls as simple functions. By "wrapper", we mean a chunk of code that you can download, drop into your project and work with quickly. It will handle the details of the actual network connections, parameters, and interface for you so that you can focus on just using the object(s) we expose to integrate Flexmail into your code.

You are not required to use these files (in order to use the Flexmail API), but it's recommended if you're looking for an easy and quick way to get your integration going. You can of course build your own.

Prerequisites

Usage

Update the config.php file replacing the required information: USER_ID and USER_TOKEN with your personal Flexmail User Id and User Token, which can be found within the Flexmail platform. Browse to Home > Profile to view your User ID and User Token. Within your existing PHP code require the Flexmail API wrapper

<?php
require_once "FlexmailAPI.php";
?>

To call a service on an object: Request the instance, execute the function.
Required parameters can be found within the FlexmailAPI_Class files themselves or on: flexmail.be/en/api/manual