curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/processes/signals/subscriptions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"externalId": "my.known.id",
"sink": {
"type": "email",
"externalId": "my.known.id"
},
"filter": {
"topic": "cognite_integrations",
"resource": "<string>",
"category": [
"<string>"
],
"severity": "info",
"extractorExternalId": "<string>",
"extractorVersion": "<string>"
}
}
]
}
'{
"items": [
{
"externalId": "my.known.id",
"sink": {
"type": "email",
"externalId": "my.known.id"
},
"filter": {
"topic": "cognite_integrations",
"resource": "<string>",
"category": [
"<string>"
],
"severity": "info",
"extractorExternalId": "<string>",
"extractorVersion": "<string>"
},
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000
}
]
}Required capabilities:
subscribeSignalsAcl:WRITE
Create one or more subscriptions in the project. A subscription ties a sink to a topic with a filter that determines which signals will be pushed out to the sink.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/processes/signals/subscriptions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"externalId": "my.known.id",
"sink": {
"type": "email",
"externalId": "my.known.id"
},
"filter": {
"topic": "cognite_integrations",
"resource": "<string>",
"category": [
"<string>"
],
"severity": "info",
"extractorExternalId": "<string>",
"extractorVersion": "<string>"
}
}
]
}
'{
"items": [
{
"externalId": "my.known.id",
"sink": {
"type": "email",
"externalId": "my.known.id"
},
"filter": {
"topic": "cognite_integrations",
"resource": "<string>",
"category": [
"<string>"
],
"severity": "info",
"extractorExternalId": "<string>",
"extractorVersion": "<string>"
},
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Subscriptions to create.
1 - 10 elementsShow child attributes
Created subscriptions.
100Show child attributes
Was this page helpful?