How to Configure Contact form to any API
- Click add new CF API and give the suitable API title
- Please select a form which you would like to connect with API
- Enter your CRM/API URL in API URL field
Ex. https://api.mailbluster.com/api/leads/
- Add header request like below
Authorization: MY_API_KEY
Authorization: Bearer xxxxxxx
Authorization: Basic xxxxxx
Content-Type: application/json
Authorization having Username & Password with Base64 ?
to convert online click here and put it on header
Authorization: Basic ‘ . base64_encode( YOUR_USERNAME . ‘:’ . YOUR_PASSWORD )
Content-Type: application/json
After convert put it on header like below
Authorization: Basic c2FsdXRlLXZldGVyYW5zLWFwaSA6IDBjd1NURENTcE91MUNOQXFVRFFmajdN
Content-Type: application/json - Then you have to select your Input Type JSON OR GET/POST
- Select your API Method POST or GET
- Map your Fields with your API KEYS
- Save your API configuration