Create an integration
POST
Creates a new integration. Requires an API key with the write action.
Loading code example
Loading code example
Authorizations
apiKeystringheaderrequired
API key passed in the header.
Body
The integration to create.
integrationNamestringrequiredHuman-readable name for the integration.
Length:
>= 1, <= 200integrationDirectionstringrequiredDirection of data flow: `INGRESS` or `EGRESS`.
integrationTypestringrequiredThe integration type (valid values depend on direction; see GET /v2/integrations/mapping).
resourcesarray<object>The resource paths this integration applies to (e.g. things or places).
resources.pathstringresources.metadataobjectpropertiesobjectType-specific configuration properties (multi-valued).
secretPropertiesobjectSensitive properties persisted to the cloud secrets manager rather than stored inline. Immutable after creation — to change them, delete and recreate the integration.
metaDataobjectArbitrary user-defined key/value metadata.
Response
application/json
Created.