---
title: "Api Integrations Create"
method: POST
path: "/api/integrations/"
tags: ["integrations"]
---

# Api Integrations Create

`POST /api/integrations/`

POST handler with superadmin-only field protection.

Strips superadmin-only fields from non-superadmin requests before
delegating to OrganizationInjectionMixin.post() for org injection.

## Headers

- `Authorization` string, required

## Request body

- IntegrationRequest
  - `extra_kwargs` IntegrationRequestExtraKwargs
  - `credentials` IntegrationRequestCredentials
  - `provider` string, nullable
  - `project` string, nullable
  - `type` string
  - `name` string
  - `available_models` string[]
  - `excluded_models` string[]
  - `weight` number, double
  - `is_active` boolean
  - `is_managed` boolean
  - `environment` union
    - 'prod' | 'stage' | 'test' | 'all' — * `prod` - Prod * `stage` - Dev * `test` - Test * `all` - All
    - ''
  - `title` string
  - `integration_unique_id` string, nullable
  - `user` integer, nullable
  - `organization` integer, nullable

## Response `201`

- Integration
  - `id` integer, required
  - `masked_extra_kwargs` string, required
  - `provider` string, nullable
  - `project` string, nullable
  - `created_at` string, date-time, nullable, required
  - `updated_at` string, date-time, nullable, required
  - `type` string
  - `name` string
  - `available_models` string[]
  - `excluded_models` string[]
  - `weight` number, double
  - `is_active` boolean
  - `is_managed` boolean
  - `environment` union
    - 'prod' | 'stage' | 'test' | 'all' — * `prod` - Prod * `stage` - Dev * `test` - Test * `all` - All
    - ''
  - `title` string
  - `integration_unique_id` string, nullable
  - `user` integer, nullable

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/versions/c26d550029f8/schema)
