Skip to main content
POST

Authorizations

x-portkey-api-key
string
header
required

Body

application/json
name
string
required

Human-readable name for the integration

Example:

"Production OpenAI"

ai_provider_id
string
required

ID of the base AI provider

Example:

"openai"

slug
string

URL-friendly identifier (auto-generated if not provided)

Pattern: ^[a-zA-Z0-9_-]+$
Example:

"production-openai"

key
string

API key for the provider (if required)

Example:

"sk-..."

description
string

Optional description of the integration

Example:

"Production OpenAI integration for customer-facing applications"

workspace_id
string

Workspace ID (for workspace-scoped integrations)

Example:

"ws-my-team-1234"

configurations
OpenAI · object

Provider-specific configuration object

Response

200 - application/json

Successful response

id
string<UUID>
slug
string
Last modified on February 14, 2026