Inbox rules
Update an inbox rule
Changed onReplaces the definition of one of your organization's inbox rules. Send the whole definition: fields you leave out are removed.
The id in the body must match the one in the path. Editing a rule never changes notifications that were already sent.
put/communications/inbox_rule/{id}
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/communications/inbox_rule/{id}
- AuthHTTP bearer
Path parameters
idstring required
The ID of the inbox rule, like acme.security_finding or deployment.failed.
Query parameters
dry_run'true' | 'false'
Set to true to run every check, limits included, without saving anything.
Request body
Example request
{
"id": "acme.security_finding",
"status": "active",
"context_schema": {
"type": "object",
"required": [
"id",
"service",
"owner_id"
],
"properties": {
"id": {
"type": "string"
},
"service": {
"type": "string"
},
"summary": {
"type": "string"
},
"owner_id": {
"type": "integer"
}
}
},
"category": {
"group": "security",
"label": "Security findings",
"description": "Vulnerabilities your CI scanners report.",
"configurable": true,
"allows_all": true,
"default_mode": "involved"
},
"severity": "degraded",
"audience": [
{
"as": "owner",
"who": {
"user": "${{ context.owner_id }}"
},
"action": "acme.security_finding",
"content": {
"title": "Security finding on ${{ context.service }}",
"body": "${{ context.summary }}"
}
}
],
"visible_to": [
"organization=1:account=2"
]
}Response
The updated inbox rule. With dry_run=true, { "valid": true } and nothing is saved.
Example response
{
"id": "acme.security_finding",
"organization_id": 1,
"publisher": "organization",
"status": "active",
"document": {
"id": "acme.security_finding",
"status": "active",
"context_schema": {
"type": "object",
"required": [
"id",
"service",
"owner_id"
],
"properties": {
"id": {
"type": "string"
},
"service": {
"type": "string"
},
"summary": {
"type": "string"
},
"owner_id": {
"type": "integer"
}
}
},
"category": {
"group": "security",
"label": "Security findings",
"description": "Vulnerabilities your CI scanners report.",
"configurable": true,
"allows_all": true,
"default_mode": "involved"
},
"severity": "degraded",
"audience": [
{
"as": "owner",
"who": {
"user": "${{ context.owner_id }}"
},
"action": "acme.security_finding",
"content": {
"title": "Security finding on ${{ context.service }}",
"body": "${{ context.summary }}"
}
}
],
"visible_to": [
"organization=1:account=2"
]
},
"created_at": "2026-10-20T14:03:11.000Z",
"updated_at": "2026-10-20T14:03:11.000Z",
"organization_state": {
"enabled": true,
"linked": []
}
}Changes
- info
endpoint added
- info