Editing
Add/edit contacts with the API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Step-by-step instructions == Follow these steps to add or edit contacts using the API: 1. **Gather Required Information**: Before making the API call, ensure you have the following information: - The contact's email address - Other optional fields such as first name, last name, phone number, etc. 2. **Construct Your API Request**: - The API request should be formatted as a JSON or XML object depending on your preferred output format. Here are the basic parameters required: - `email`: The email address of the contact (this is mandatory) - `first_name`: (optional) The contact's first name - `last_name`: (optional) The contact's last name - Additional fields can be included as required. 3. **Make a POST Request**: Use your preferred method (e.g., cURL, Postman) to send the POST request to the ActiveCampaign API endpoint. For example, the endpoint for the '''contact_sync''' would look like: ``` https://<your_account>.api.activecampaign.com/api/3/contact_sync ``` 4. **Review the API Response**: After submitting the request, check the response to confirm whether the contact was added or updated successfully. The API will typically return a status code along with relevant data about the request.
Summary:
Please note that all contributions to Activepedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Activepedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information