Setup · Connections

Register a self-hosted connector manifest

post/connections/connectors

Request

  • Base URL: https://api.ziggsai.com
  • URL: https://api.ziggsai.com/connections/connectors
  • Auth: HTTP bearer

Request body

providerstring required
labelstring required
status'draft' | 'active' | 'disabled'
authMode'api_key' | 'oauth2' required
baseUrlstring required
trustTier'self' | 'third_party'

self = own API (default); third_party requires domain verification

visibility'owner' | 'org' | 'published'

Example request

{
  "provider": "my-internal-api",
  "label": "My Internal API",
  "apiKey": {
    "header": "Authorization",
    "prefix": "Bearer "
  },
  "oauth": {
    "tokenResponseFields": {
      "accessToken": "access_token",
      "refreshToken": "refresh_token",
      "expiresIn": "expires_in",
      "scope": "scope"
    }
  },
  "baseUrl": "https://slack.com/api",
  "actions": [
    {
      "name": "channel:read",
      "method": "GET",
      "urlTemplate": "/conversations.info?channel={{payload.channel}}",
      "resourceTemplate": "slack:channel:{{payload.channel}}"
    }
  ]
}

Response

Created

manifestobject required

Changes

No recorded changes to this operation across all 1 revision of this API.