Developer Portal
```mediawiki
Getting Started with the API[edit | edit source]
Overview[edit | edit source]
This article provides an introduction to using the ActiveCampaign API, which allows developers to integrate and interact with ActiveCampaign's features programmatically.
Requirements[edit | edit source]
To get started with the ActiveCampaign API, you will need:
- An ActiveCampaign account.
- API access enabled in your account settings.
- Basic knowledge of HTTP requests and JSON format.
Authentication[edit | edit source]
To authenticate your API requests, you will need to use your API key. This key can be found in your ActiveCampaign account under the API settings. All API requests must include this key to ensure secure access.
Making API Requests[edit | edit source]
ActiveCampaign's API uses RESTful principles. You can make requests using standard HTTP methods such as GET, POST, PUT, and DELETE.
Example Request[edit | edit source]
Here is a simple example of how to make a GET request to retrieve a list of contacts: ``` GET https://youraccount.api.activecampaign.com/api/3/contacts ```
Response Format[edit | edit source]
The API responds with data in JSON format. You can parse this data in your application to use it as needed.
Error Handling[edit | edit source]
When making API requests, you may encounter errors. The API will return an appropriate HTTP status code along with a message detailing the error. Make sure to handle these errors in your application to ensure a smooth user experience.
Additional Resources[edit | edit source]
For more detailed information, refer to the official API documentation available in the ActiveCampaign Developer Portal.
See Also[edit | edit source]
```