---
title: "POST /api/v1/app-connections/imperva"
method: POST
path: "/api/v1/app-connections/imperva"
tags: ["App Connections"]
---

# POST /api/v1/app-connections/imperva

`POST /api/v1/app-connections/imperva`

## Request

- Base URL: `https://us.infisical.com`
- URL: `https://us.infisical.com/api/v1/app-connections/imperva`
- Auth: none declared
- TypeScript: <https://skmtc.dev/infisical/apis/infisical-api/docs/api/v1/app-connections/imperva/post.ts> (a function with typed inputs; its response is checked against the schema)

Create an Imperva Connection.

## Request body

- object
  - `method` 'api-key', required: The method used to authenticate with Imperva.
  - `credentials` object, required: The credentials used to connect with Imperva.
    - `apiId` string, required: The API ID of an Imperva API key, shown beside the key in the Cloud Security Console.
    - `apiKey` string, required: The Imperva API key. It has to be enabled, and its role needs the Manage SSL Certificates permission.
    - `accountId` string: The numeric Imperva account ID to act on. Set it to manage websites in a sub-account. Defaults to the account the API key belongs to.
  - `name` string, required: The name of the Imperva Connection to create. Must be slug-friendly.
  - `description` string, nullable: An optional description for the Imperva Connection.
  - `projectId` string: The ID of the project to create the Imperva Connection in.
  - `isPlatformManagedCredentials` false: Not supported for Imperva Connections.
  - `gatewayId` string, uuid, nullable: The Gateway ID to use for this connection.
  - `gatewayPoolId` string, uuid, nullable: The Gateway Pool ID to use for this connection.
  - `isAutoRotationEnabled` false: Not supported for Imperva Connections.
  - `rotation` 'null', nullable: Not supported for Imperva Connections.

## Response `200`

Default Response

- object
  - `appConnection` object, required
    - `id` string, uuid, required
    - `name` string, required
    - `description` string, nullable
    - `version` number
    - `orgId` string, uuid, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `isPlatformManagedCredentials` boolean, nullable
    - `gatewayId` string, uuid, nullable
    - `projectId` string, nullable
    - `isAutoRotationEnabled` boolean
    - `gatewayPoolId` string, uuid, nullable
    - `rotation` object: The credential rotation configuration, if configured.
      - `lastRotationMessage` string, nullable: The message from the last rotation attempt.
      - `rotationInterval` number, required: The interval in days between credential rotations.
      - `nextRotationAt` string, date-time, nullable: The next scheduled rotation time.
      - `rotationStatus` 'success' | 'failed', required: The status of the last rotation attempt.
      - `rotateAtUtc` object, required: The UTC time of day at which rotation should occur.
        - `hours` number, required: The hour (0-23) at which to rotate.
        - `minutes` number, required: The minute (0-59) at which to rotate.
    - `credentialsHash` string
    - `project` object, nullable
      - `name` string, required
      - `id` string, required
      - `type` string, required
      - `slug` string, required
    - `app` 'imperva', required
    - `method` 'api-key', required
    - `credentials` object, required
      - `apiId` string, required: The API ID of an Imperva API key, shown beside the key in the Cloud Security Console.
      - `accountId` string: The numeric Imperva account ID to act on. Set it to manage websites in a sub-account. Defaults to the account the API key belongs to.

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Default Response
- `422`: Default Response
- `500`: Default Response

## Changes

- **2026-11-03** `fb1c2450b2fe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/infisical/apis/infisical-api/changes/api/v1/app-connections/imperva/post.md)

---

[API](https://skmtc.dev/infisical/apis/infisical-api.md) - [All operations](https://skmtc.dev/infisical/apis/infisical-api/llms.txt) - [OpenAPI document](https://skmtc.dev/infisical/apis/infisical-api/revisions/6136900749bb?raw)
