Womplify is an API at its core and just about everything you can do on the Womplify site, can be done on your own site or app via the API.

There are over 250 methods currently, with more added all the time, and getting started is easy – just create a key and off you go!

Requirements

To use the API, you will need:

  • A Womplify account
  • A valid API key (see below)
  • A cunning plan…

Note: Some API calls are PUBLIC and do not require an API key to access them.

 

How to Create an API Key

You can create multiple API keys to use with different apps, sites or services or for whatever other reason you may have.

  1. On the left menu, click Settings and then click the Integration > API Keys menu option.
  2. At the bottom left of the API Access Keys box, click the + button.
  3. In the Create API Access Key popup, enter a Title and Description for your API key.
  4. Click the Create button to save your changes.

Your API key is now in the Access Keys list and ready to use.

 

How to Call the API

After creating an API Key (see above), you may now use it for making calls to the API to add, update or retrieve data.

Calls to the API should take the following form:

https://www.womplify.com/api/[module]/[method]?AccessKeyID=[keyid]&AccessKey=[key]&[otherparams]

For example, to update a Lead:

https://www.womplify.com/api/leads/UpdateLead?AccessKeyID=123&AccessKey=khgehfgdshfgdsh&LeadID=321&Score=100

The request should contain:

  • The Module name
  • The Method name
  • An AccessKeyID unless it is a public API call
  • An AccessKey unless it is a public API call
  • Any other parameters required by the specific function

The API response is in JSON format. For example:

API Request:

https://www.womplify.com/api/feeds/GetFeedItemDetails?ItemID=13

API Response:

{“URL”:”http://andrewchen.co/early-traction-how-to-go-from-zero-to-150000-email-subscribers-guest-post/”,”PubDateTime”:”2014-08-14 18:37:36″,”FeedID”:1,”ItemID”:13,”Title”:”Early Traction: How to go from zero to 150,000 email subscribers (Guest Post)”,”AddDateTime”:”2015-05-04 09:00:07″,”Tags”:””,”Description”:””,”Category”:”uncategorized”,”Body”:”[Andrew: Starting up from zero is one of the hardest things you can do with a new product. Especially in the age of SaaS and content marketing, building up to the first 150k users is a key milestone that can prove out product/market fit, generate a revenue stream, and secure investment. This is a guest post by my good friend Noah Kagan (@noahkagan), who is previously from Mint (acquired by Intuit), Facebook, and now Chief Sumo of AppSumo…”}

 

Next Steps

To move forward now with developing using the Womplify API, you should have a look through all the modules pages which each contain lists of all the methods they offer. Each method is documented in detail with all the required params and examples of use to get you up to speed quickly.

Want some more help getting started with the API? [bucket id=2566]