diff --git a/addanother.api.php b/addanother.api.php
new file mode 100644
index 0000000..c9b0758
--- /dev/null
+++ b/addanother.api.php
@@ -0,0 +1,30 @@
+<?php
+
+/**
+ * @file
+ * Hooks provided by the Add another module.
+ */
+
+/**
+ * Alter the path provided to the user to create another node.
+ *
+ * @param string $path
+ *   The path provided to create another node.
+ * @param object $node
+ *   The node object created when the Add another button was used.
+ */
+function hook_addanother_node_add_path_alter(&$path, &$node) {
+  // Pass the saved node's nid as a parameter when adding another Article node.
+  // We can then use its values as defaults on the new node form (be sure to
+  // check node access when doing so).
+  if ($node->type == 'article') {
+    $path = array(
+      $path,
+      array(
+        'query' => array(
+          'nid' => $node->nid,
+        ),
+      )
+    );
+  }
+}
