---
title: "Create Space Integration"
method: POST
path: "/integrations/spaces/{space_id}"
tags: ["integrations"]
---

# Create Space Integration

`POST /integrations/spaces/{space_id}`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/integrations/spaces/{space_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Enable an integration for a space.

Tests the connection before saving. Returns webhook URL and secret.

## Path parameters

- `space_id` string, uuid, required

## Request body

- SpaceIntegrationCreate: Schema for creating a new space integration.
  - `provider_id` string, required: Provider ID (e.g., 'freshdesk')
  - `config` object, required: Provider-specific configuration

## Response `201`

Successful Response

- SpaceIntegrationDetailResponse: Detailed response including webhook secret (only on creation).
  - `id` string, uuid, required
  - `space_id` string, uuid, required
  - `provider_id` string, required
  - `is_active` boolean, required
  - `webhook_url` string, nullable
  - `last_tested_at` string, date-time, nullable
  - `last_test_success` boolean, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `provider_name` string, nullable
  - `provider_icon_url` string, nullable
  - `webhook_secret` string, nullable

## Other responses

- `422`: Validation Error

---

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