---
title: "Create or update WebEngage integration"
method: POST
path: "/integration/modify-webengage-integration"
tags: ["Integrations"]
---

# Create or update WebEngage integration

`POST /integration/modify-webengage-integration`

Creates or updates the WebEngage integration for the organization. Replaces the existing integration configuration with the provided credential set(s).

**Note:** This endpoint returns a direct JSON response — not the standard `{ success, data }` wrapper used by other endpoints.

## Request body

- object
  - `integrationSets` WebEngageIntegrationSet[], required — One or more WebEngage credential sets
    - `licenseCode` string, required — WebEngage license code
    - `environment` string, required — WebEngage environment identifier
    - `apiKey` string, required — WebEngage API key

## Response `200`

Integration created or updated

- object
  - `message` string
  - `data` object — Integration details object

## Other responses

- `400` — Invalid input
- `401` — Unauthorized access
- `404` — Organization not found
- `500` — Internal server error

---

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