---
title: Adding API JSON files
description: After configuring an API JSON file, add it to ASE to activate ASE processing.
component: pingintelligence
version: 5.2
page_id: pingintelligence:pingintelligence_reference_guide:pingintelligence_adding_api_json_files
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/pingintelligence_reference_guide/pingintelligence_adding_api_json_files.html
revdate: May 6, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
  choose-from: Choose from:
---

# Adding API JSON files

## About this task

After configuring an API JSON file, add it to ASE to activate ASE processing.

## Steps

* To add an API, do one of the following:

  ### Choose from:

  * Run the following command-line interface (CLI) command:

    ```
    /<ASE_Installation path>/pingidentity/ase/bin/cli.sh –u admin -p admin add_api {file_path/api_name}
    ```

  * Use the [Create API](pingintelligence_rest_api_inline_sideband_ase.html) in ASE Admin APIs to add an API JSON file to ASE.

    The following is a sample `curl` command for it:

    ```shell
    curl --location --request POST '{{API}}=<API Name>' \
    --header '{{Access_Key_Header}}: {{Access_Key}}' \
    --header '{{Secret_Key_Header}}: {{Secret_key}}' \
    --header 'Content-Type: application/json' \
    --data-raw '{
        "api_metadata": {
            "protocol": "https",
            "url": "/patmapp",
            "hostname": "*",
            "oauth2_access_token": false,
            "apikey_qs": "",
           <<Request body continues...>>
    ```
