Skip to content

Create Connection

POST/web/v1/workspaces/{workspaceId}/slash/connections JWT

Creates a new Slash platform connection within the specified workspace.

Required Headers

HeaderExample ValueDescription
Content-Typeapplication/jsonRequest content type
Acceptapplication/jsonExpected response type
X-Client-HashClient device fingerprint
Accept-Languageen, zh, zh-Hant, ja, viResponse language (default: en)
AuthorizationBearerJWT access token
X-Workspace-IdTarget workspace ID

Request Parameters

NameTypeRequiredInDescription
requestSlashTenantConnectionCreateRequestRequiredbodyRaw request body (encrypted via SecureChannel, auto-decrypted by the server)
workspaceIdStringRequiredpathWorkspace ID.", constraints: "Path parameter (injected by gateway)
connectionNameStringRequiredbodyDisplay name for the connection.", constraints: "Must not be blank
partnerEndpointStringRequiredbodyPartner API endpoint URL.", constraints: "Must not be blank
slashApiBaseUrlStringRequiredbodySlash platform API base URL.", constraints: "Must not be blank
slashApiKeyStringRequiredbodyAPI key for authenticating with Slash.", constraints: "Must not be blank
slashAccountIdStringRequiredbodySlash account identifier.", constraints: "Must not be blank
slashWebhookSecretStringRequiredbodyWebhook secret for signature verification.", constraints: "Must not be blank
tenantBizIdStringOptionalbodyTenant business ID. Auto-resolved if omitted.

Success Response

Bad Request 400
{
  "code": "4000",
  "message": "connectionName must not be blank"
}

Error Responses

HTTP StatusCodeDescription
4004000Validation error (missing required fields)
4014010Invalid or expired JWT token
4034030Insufficient permissions

Notes

  • Returns HTTP 201 on success.
  • Sensitive fields (slashApiKey, slashAccountId, slashWebhookSecret) are masked in the response.
  • The connection is created in PENDING status (20010201).

SlaunchX Internal Documentation