Here you can find some useful tips on how to get the most out of the current Jetpack CRM API.
You can read more about the CRM API, and see the current API docs here.
Posting checkbox data into Jetpack CRM (via API)
From v4.0.7 of Jetpack CRM, you can provide data for Checkbox custom fields in a number of ways. This version improves the way you process inbound data, making setting these fields very easy.
The following information is useful if you:
- Use Jetpack CRM to add contacts or other CRM objects.
- Have a custom field with the type of Checkbox.
How to pass Checkbox custom field data into the API:
When sending data into your CRM API, you can now pass checkbox/multi select options by providing them as an ARRAY or a CSV String. Both represent “What’s selected”.
So here’s an example using custom fields and Contacts.
If you had a custom field setup as follows:

You could send the following to the API (as JSON):
{
"email" : "example@email.com",
"status" : "Customer",
"fname" : "Example",
"lname" : "Customer",
"tags" : ["New Theme" , "Email Campaign"],
"food-type": "Vegetarian,Vegan",
"meal-choice": ["Starter","Main"]
}
Note how you could pass Starter,Main or array('Starter','Main') for the second custom field, and both would work. We provide coverage for both formats.
When we send that into the API, we then get a new contact added as follows:

Please note: this is a small snippet designed to help developer users with our API v2. We don’t have an ETA to release the v3 of the API, and anything else related to that is most likely outside of our support scope.
Find more about the CRM API here, and see the current API docs.