---
title: "API"
canonical: "https://support.appfire.com/space/AHP/650346519/API"
format: markdown
---
> Macro (aura-html)

> Macro (excerpt-include)



# Overview

Comala Publishing provides a Java API for other add-ons to extend.

# Setup

Add the Comalatech Maven repository to you `.m2/settings.xml` file or your project pom.xml.

```
<repository>
    <id>appfire-comalatech-public</id>
    <url>https://nexus.appfire.com/repository/comalatech-maven-public/</url>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
    <releases>
        <enabled>true</enabled>
    </releases>
</repository>
```

Add a dependency on the publishing api library to your project

> ℹ️ Only available from **Comala Publishing 2.16.0 onwards**. Use the latest corresponding API library for your app version.

```
<dependency>
    <groupId>com.comalatech</groupId>
    <artifactId>publishing-api</artifactId>
    <version>3.1.0</version>
    <scope>provided</scope>
</dependency>
```

# Using the API

Currently the API provides a range of events that can be listened to via Confluence event listeners.  This lets your third-party app take an additional action once a publishing action has taken place.

- [View the Java API docs](https://comalatech.bitbucket.io/comala-publishing)