Remote Functions for Non-WordPress Sites
iMember360 provides three modules designed to remotely interact with the plugin and your Keap application, making iMember360 a quasi-proxy application.
Available Modules
| Module | Description |
|---|
isauth | Authentication module using Keap data. Remotely authenticate a user as if they had logged in through your WordPress site. Returns an array with requested fields on success. |
issubs | Remotely query Keap for subscription (CProgram) data. |
isprod | Remotely query Keap for product data. |
Remote Authentication
Remote authentication can be carried out through a POST or GET request. The plugin checks against $_REQUEST values.
Required Parameters
| Parameter | Description |
|---|
isauth | Your Security Key, defined in Plugin Options => Main Settings. |
user | The user's primary email address as stored in Keap. |
pass | The user's password as stored in the field defined in Plugin Options (unless an alternate field is specified via passfield). |
Optional Parameters
| Parameter | Description |
|---|
passfield | Name of an alternate Keap field where the user's password is stored. |
retfields | Defines which Keap fields to return. If not specified, all contact fields are returned. |
required_tags | Tags the user must have to authenticate successfully. User must have all specified tags. |
json | If passed, returns data in JSON format. Default is PHP's serialize(). |
base64 | If passed, returns the JSON or serialized values in Base64 encoded format. |
Remote Subscription Query
Query subscription data through a POST or GET request.
Required Parameters
| Parameter | Description |
|---|
issubs | The first six (6) characters of your API key. |
id | The subscription's ID as stored in Keap. |
Optional Parameters
| Parameter | Description |
|---|
retfields | Defines which Keap fields to return. If not specified, all subscription fields are returned. |
json | If passed, returns data in JSON format. Default is PHP's serialize(). |
base64 | If passed, returns the JSON or serialized values in Base64 encoded format. |
Remote Product Query
Query product data through a POST or GET request.
Required Parameters
| Parameter | Description |
|---|
isprod | The first six (6) characters of your API key. |
id | The product's ID as stored in Keap. |
Optional Parameters
| Parameter | Description |
|---|
retfields | Defines which Keap fields to return. If not specified, all product fields are returned. |
json | If passed, returns data in JSON format. Default is PHP's serialize(). |
base64 | If passed, returns the JSON or serialized values in Base64 encoded format. |