ActiveCampaign offers multiple types of APIs, including REST and GraphQL:
ActiveCampaign provides a REST API that allows developers to interact with various resources and perform operations on the platform. The REST API uses standard HTTP methods like GET, POST, PUT, DELETE etc. to interact with resources.
Key points about the REST API:
ActiveCampaign also offers a GraphQL API, specifically for ecommerce functionality.
Key points about the GraphQL API:
So in summary, ActiveCampaign provides both REST and GraphQL APIs, with REST being the primary API for most functionality and GraphQL focused on ecommerce data. Developers can choose the appropriate API based on their specific integration requirements.
Yes, the ActiveCampaign API has webhooks. Here are the key points about ActiveCampaign's webhook functionality:
ActiveCampaign provides webhooks that allow you to receive real-time data updates about your contact and campaign activity.
You can subscribe to various types of events, including:
Campaign-related events:
Contact-related events:
Custom Object events:
Account-related events:
ActiveCampaign guarantees "at least once" delivery for webhooks, so it's important to create an idempotent system to handle potential duplicate events.
Webhooks will be automatically deactivated if they return an HTTP 410 (gone) response.
You can process webhook data using any programming language that can read POST data.
ActiveCampaign provides API endpoints for managing webhooks, including:
In summary, ActiveCampaign's API offers a robust webhook system that allows you to subscribe to a wide range of events, providing real-time updates for various activities within your ActiveCampaign account.
Based on the search results provided, here are the key points regarding the API rate limits for ActiveCampaign:
ActiveCampaign has a rate limit of 5 requests per second per account. This is the standard rate limit for their API.
There is no specific daily limit mentioned, but exceeding the rate limit may result in temporary throttling.
If you exceed the allowed rate of API calls, ActiveCampaign will throttle your requests. This means your API calls will be temporarily slowed down or rejected until your usage falls back within the acceptable limits.
ActiveCampaign offers a custom rate limit solution for users with high demands. Users can contact ActiveCampaign for this option.
To manage the API rate limits effectively, consider the following best practices:
Optimize API call frequency by batching requests or combining multiple actions into a single call.
Implement retry logic in your API calls to handle cases where you might hit the rate limit.
Regularly monitor your API usage to stay within the rate limits.
Use webhooks for real-time updates instead of frequently polling the API.
ActiveCampaign uses HTTP status codes to indicate errors. Some relevant error codes include:
ActiveCampaign's API has a rate limit of 5 requests per second per account. While there's no specific daily limit, exceeding this rate can result in throttling. It's important to design your API integrations with these limits in mind and implement best practices to optimize your API usage. For users with high demands, ActiveCampaign offers custom rate limit solutions.
Based on the search results provided, the most recent version of the ActiveCampaign API is version 3. Here are the key points:
The latest API version supported is version 3.
ActiveCampaign API version 3 is structured around REST, HTTP, and JSON.
While version 1 of the API is still available and supported, all new functionality is added to the RESTful version 3 of the API.
The developers recommend using version 3 of the API.
Version 3 of the API uses HTTP methods for indicating actions on resources and HTTP status codes for expressing error states.
Resources in version 3 are represented in JSON following a conventional schema.
There are no plans to sunset version 1 of the API at this time, but if they do, they will provide plenty of advance notice.
It's important to note that while version 1 is still supported, using the most recent version (version 3) is recommended as it includes all new functionality and follows modern API design principles such as REST and JSON.
To get a developer account for ActiveCampaign to create an API integration, you need to request a Developer Sandbox Account. Here's how you can do it:
Request a Developer Sandbox Account:
Key points to consider:
Limitations of Developer Sandbox Accounts:
Next steps after getting the account:
Best practices:
By following these steps, you'll be able to obtain a Developer Sandbox Account and start working on your ActiveCampaign API integration. Remember that the ActiveCampaign team will review your request and get in touch with you regarding your sandbox account.
Based on the search results provided, here is a summary of the data models you can interact with using the ActiveCampaign API, along with key points for each:
This overview covers the main data models and functionalities available through the ActiveCampaign API. For more detailed information on specific endpoints and their usage, refer to the official ActiveCampaign API documentation.