---
title: "POST /api/openapi/integrations/{slug}/config"
method: POST
path: "/api/openapi/integrations/{slug}/config"
tags: ["openapi"]
---

# POST /api/openapi/integrations/{slug}/config

`POST /api/openapi/integrations/{slug}/config`

## Path parameters

- `slug` string, required

## Request body

- object
  - `authenticationTemplate` union[], nullable
    - union
      - object
        - `slug` string, required
        - `kind` 'oauth2', required
        - `authorizationUrl` string, required
        - `tokenUrl` string, required
        - `resource` string, nullable
        - `scopes` string[], required
        - `supportsClientIdMetadataDocument` boolean, nullable
      - object
        - `slug` string, nullable
        - `type` 'apiKey', required
        - `label` string, nullable
        - `headers` object, nullable
        - `queryParams` object, nullable
  - `mode` 'merge' | 'replace', nullable
  - `baseUrl` string, nullable

## Response `200`

Success

- object
  - `authenticationTemplate` union[], required
    - union
      - object
        - `slug` string, required
        - `kind` 'oauth2', required
        - `authorizationUrl` string, required
        - `tokenUrl` string, required
        - `resource` string, nullable
        - `scopes` string[], required
        - `supportsClientIdMetadataDocument` boolean, nullable
      - object
        - `slug` string, required
        - `kind` 'apikey', required
        - `label` string, nullable
        - `placements` object[], required
          - `carrier` 'header' | 'query', required
          - `name` string, required
          - `prefix` string, nullable
          - `variable` string, nullable
          - `literal` string, nullable

## Other responses

- `400` — OpenApiParseError | OpenApiExtractionError | OpenApiOAuthError | OpenApiSpecOverrideError
- `409` — IntegrationAlreadyExistsError
- `500` — InternalError

---

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