How to Add Contacts via Zapier Using the AllClients API

Why This Matters

Connecting AllClients to Zapier lets you automatically add contacts from other apps without manual data entry. When someone fills out a form, joins your email list, or appears in a spreadsheet, Zapier can send that contact directly into AllClients using the API. This saves time and ensures your contact data stays current across all your tools.

This guide walks through a specific example—adding contacts from a Google Sheet—but the same process works with any Zapier trigger.

Before You Begin

Before you can connect Zapier to AllClients, make sure you have:

  • An active Zapier account with access to create Zaps
  • Your AllClients API credentials (Account API Key or White Label master keys)
  • Your server's base URL (www.allclients.com for AllClients users, or your white label domain)
  • Basic familiarity with Zapier including creating triggers and actions
  • The source app configured (in this example, a Google Sheet with contact data)

Step-by-Step Instructions

1. Set Up Your Trigger in Zapier

Connect Zapier to your data source (Google Sheets, form tool, or other app) and configure it as the Trigger. Choose the event that should add a contact to AllClients, such as "New Row in Spreadsheet."

This tells Zapier when to send data to AllClients. Test your trigger to confirm it's pulling data correctly before moving to the next step.


2. Add a Webhooks Action

After configuring your trigger, add a new Action step and search for Webhooks by Zapier. Select it from the list.

Webhooks let Zapier send data directly to the AllClients API.


3. Choose POST as the Action Event

In the Webhooks configuration, select POST as the action event.

POST sends new data to the API, which is what you need to create a contact.


4. Configure the Webhook URL

Enter your AllClients API endpoint URL in the URL field. Use your server's base URL followed by the API function endpoint.

For example, to add a contact use: https://www.allclients.com/api/AddContact

Make sure you're using the correct base URL for your account (www.allclients.com for standard AllClients users, or your white label domain if applicable).


5. Set Payload Type to Form

In the Payload Type dropdown, select form.

The AllClients API requires form-encoded data, not JSON payloads.


6. Add Your API Authentication

In the Data section, add your authentication fields. Do not use the Basic Auth or Headers sections—AllClients API authentication goes in the Data fields.

Add these required authentication fields:

  • api_key — Your AllClients Account API Key (or master keys for White Label admins)
  • response_type — Set this to json (required for Zapier to read the response correctly; the API defaults to XML otherwise)

7. Add Required Contact Fields

In the same Data section, add the contact information fields required by the API endpoint. Refer to the AllClients API documentation for the specific endpoint you're using to see which fields are required.

For the AddContact endpoint, common required fields include:

  • first_name
  • last_name
  • email

Map these fields to the corresponding data from your Zapier trigger (for example, map the "First Name" column from your Google Sheet to the first_name field).


8. Add Optional Fields

Add any additional contact fields you want to include, such as phone number, address, tags, or custom fields. Check the API documentation for available field names.

Only include fields that have data in your source app to avoid sending empty values.


9. Test Your Zap

Click Test & Continue to send a test request to the AllClients API. You should see a success message in the response with a contact ID if the contact was added successfully.

If you see an error, check that all required fields are included and that your API key is correct.


10. Turn On Your Zap

Once your test succeeds, name your Zap and turn it on. Your contacts will now automatically flow from your trigger app into AllClients.

Monitor your Zap history to ensure contacts are being added successfully.

Common API Endpoints for Zapier

While this guide uses AddContact as an example, you can use the same Webhooks approach with any AllClients API function:

  • AddContact — Create new contacts
  • UpdateContact — Modify existing contact data
  • AddTag — Apply tags to contacts
  • AddNote — Add notes to contact records
  • AddTask — Create tasks or to-dos

Always consult the AllClients API documentation for the specific endpoint to see required fields and parameters.

Questions and Answers

Q: What's the difference between API Key and master keys?

A: API Keys are account-specific credentials. Master keys are used by White Label administrators to access multiple client accounts. Use whichever credential type applies to your setup.


Q: Why must I set response_type to json?

A: The AllClients API defaults to XML responses, but Zapier doesn't parse XML properly. Setting response_type to json ensures Zapier can read the API response and confirm success.


Q: Can I use this method with apps other than Google Sheets?

A: Yes. Any Zapier trigger can connect to AllClients this way—forms, email tools, CRMs, e-commerce platforms, or any other app Zapier supports.


Q: Where do I find my API Key?

A: Your API Key is available in your AllClients account settings. Navigate to your account profile or API settings section to locate it.


Q: Do I need to use the Data section for all fields?

A: Yes. AllClients API does not use the Basic Auth or Headers sections in Zapier. All authentication and data fields go in the Data section.


Q: Can I update existing contacts instead of adding new ones?

A: Yes. Use the UpdateContact API endpoint instead of AddContact, and include the contact ID in your data fields.


Q: How do I know if my Zap is working?

A: Check your Zap History in Zapier to see if tasks are running successfully. You can also verify in AllClients that contacts are appearing as expected.



Guide Type: How-To Guide

Estimated Time: 15 minutes

Next Guides: AllClients API Documentation, Understanding Webhooks, How to Import Contacts