{
  "opencollection": "1.0.0",
  "info": {
    "name": "Accounting subpackage_applicationCredentials API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "subpackage_applicationCredentials",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List application credentials",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/api/v1/application-credentials/",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "external_id",
                "value": "",
                "type": "query",
                "description": "Filter by external_id"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A page number within the paginated result set."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "slug",
                "value": "",
                "type": "query",
                "description": "Filter by connector slug"
              }
            ]
          },
          "docs": "Lists OAuth application credentials for the organization."
        },
        {
          "info": {
            "name": "Create application credential",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.merge.dev/api/api/v1/application-credentials/",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates an OAuth application credential for a connector. The `external_id` field is optional — omit it unless you need multiple OAuth apps for the same connector (e.g. one per customer tenant)."
        },
        {
          "info": {
            "name": "Get application credential",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/api/v1/application-credentials/:id/",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves an OAuth application credential by ID."
        },
        {
          "info": {
            "name": "Update application credential",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.merge.dev/api/api/v1/application-credentials/:id/",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Partially updates an OAuth application credential. Only fields included in the request body are updated; omitted fields are left unchanged. Pass null to explicitly clear a field (e.g. client_secret or external_id)."
        },
        {
          "info": {
            "name": "Delete application credential",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.merge.dev/api/api/v1/application-credentials/:id/",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes an OAuth application credential. This also deletes all associated user credentials."
        }
      ]
    }
  ],
  "bundled": true
}