Enspace
  1. Integrations
Enspace
  • Introduction
  • Authentication
  • Concepts
  • First Steps
  • Workspaces
    • Types
      • Fields
        • List Fields
        • Create Field
        • Get Field
        • Field Updated
        • Delete Field
      • Items
        • List Items
        • Create Item
        • Count Items
        • Get Item
        • Update Item
        • Delete item
      • Flows
        • Stages
          • Tasks
            • List Tasks
            • Get specific Task
            • New Task
          • List Stages
          • Get specific Stage
        • List Flows
        • Get specific Flow
      • Forms
        • List Form
        • Get specific Form
        • List Form Create
      • List Types
      • Count Types
      • Get specific Type
      • Create Type
      • Update Type
      • Delete Type
    • Members
      • List Members
      • Count Members
      • Get Member
      • New Member
      • Update Member
      • Remove Member
    • Roles
      • List roles
      • Create role
      • Count roles
      • Get specific role
      • Update role
      • Delete role
      • List Role Permissions
      • Add Permission to Role
      • Remove Role Permission
    • Member Groups
      • List groups
      • New group
      • Get group
      • Update group
      • Delete group
      • Add Users
      • Remove Users
    • Quick Tasks
      • List Quick Tasks
      • Count Quick Tasks
      • Get Quick Task
      • Delete Quick Task
      • Update Quick Task
      • New Quick Task
    • Integrations
      • CertiSign
      • Docusign
      • D4Sign
      • Clicksign
      • Adobe Sign
      • Whatsapp Twilio
      • SendGrid
      • OpenAi
      • Integration
        GET
      • New Integration
        POST
    • Schedule Tasks
      • List Schedule Tasks
      • Get specify Schedule Task
    • List Workspaces
      GET
    • Workspace Context
      GET
    • New Workspace
      POST
    • Leave the workspace
      POST
    • Workspace Statistics
      GET
    • Workspace Deletion Preview
      GET
    • Delete Workspace
      DELETE
  • User
    • Request Log
    • List API Keys
  • Schemas
    • Schemas
      • Members
        • MemberUpdate
        • MemberCreate
        • Member
      • Roles
        • Role
        • RoleCreate
        • RoleUpdate
      • MemberGroups
        • MemberGroup
        • MemberGroupCreate
        • MemberGroupUpdate
      • Types
        • Type
        • TypeInput
        • TypeDetail
      • Items
        • Item
        • ItemInput
      • Workspace
        • WorkspaceContext
        • WorkspaceStats
        • Workspace
        • WorkspaceCreate
        • WorkspaceUpdate
      • Tasks
        • Tasks
      • Flow
        • Flow
      • Stages
        • Stage
      • Forms
        • Forms
      • Integrations
        • Integrations
      • User
      • RequestLog
      • UserApiKey
      • SuccessResponse
      • ErrorResponse
      • Field
      • FieldInput
      • Permission
      • PermissionInput
      • Error
    • Response
      • BadRequest
      • Unauthorized
      • Forbidden
      • NotFound
      • ServerError
  1. Integrations

OpenAi

Create OpenAI Integration#

This request creates a new integration configuration with OpenAI.
OpenAI provides advanced artificial intelligence models capable of generating text, analyzing data, and automating complex tasks through natural language processing.
By configuring this integration, the system will be able to interact with OpenAI services to power AI-driven features such as automated responses, content generation, and intelligent workflows within the selected environment.

Endpoint: POST/integrations#


Request Body#

FieldTypeDescription
integrationintegerUnique identifier of the integration type to be configured.
dataobjectConfiguration object containing service-specific parameters.
data.environmentstringDefines the operational environment.
• stage: Staging/testing environment.
• production: Live production environment.
data.changeKeysbooleanIndicates if the system should automatically map field keys during data exchange with the AI service.

Request Example#

{
  "integration": 7,
  "data": {
    "environment": "stage",
    "changeKeys": false
  }
}

Response Example#

{
    "id": 108,
    "data": {
        "changeKeys": false,
        "environment": "stage"
    },
    "integration": {
        "id": 7,
        "name": "OpenAI",
        "description": "integrations.openai.description",
        "category": "integrations.openai.category",
        "slug": "openai",
        "created_at": "2025-06-17T15:40:10.483Z",
        "updated_at": "2025-06-17T15:40:10.483Z",
        "media": []
    },
    "status": "active",
    "created_at": "2026-03-12T20:59:59.404Z",
    "updated_at": "2026-03-12T20:59:59.412Z"
}

Response Fields#

FieldTypeDescription
idintegerUnique identifier of the created integration configuration.
integrationintegerIdentifier of the integration type configured.
statusstringCurrent operational status of the integration.
• active: Enabled and operational.
• inactive: Currently disabled.
dataobjectAn object containing the applied configuration parameters.
created_atdatetimeISO 8601 timestamp indicating when the integration was created.
updated_atdatetimeISO 8601 timestamp indicating the last update to the configuration.
Security Compliance: API credentials used to authenticate requests to OpenAI services must be stored securely and must never be exposed in logs, screenshots, or public repositories.
Previous
SendGrid
Next
Integration
Built with