Webhooks & Signature Verification
ClimeqAI Webhooks send real-time HTTP POST notifications to your servers whenever important events occur on the platform (such as emission verification, supplier risk alerts, or report completion), so you do not need to poll the API.
1. Supported Event Types
You can subscribe your webhook endpoints to one or more of the following events:
| Event Code (event) | When It Triggers | Typical Enterprise Use Case |
|---|---|---|
| emission.verified | When an emission record is verified by VALENQ Engine or sealed on the blockchain. | Write the calculated tCO₂e value and blockchain transaction hash (txHash) back to the originating invoice in SAP or Oracle ERP. |
| emission.updated | When an existing emission record is modified or superseded via Storno/Amendment. | Keep sustainability tables in your enterprise data warehouse (Snowflake, BigQuery) synchronized in real time. |
| supplier.risk | When a critical spike in a supplier's ESG risk score or a compliance breach is detected. | Automatically open an alert or action ticket for procurement teams in Slack, Microsoft Teams, or Jira. |
| target.achieved | When an SBTi or corporate decarbonization milestone is reached. | Update executive BI dashboards and internal sustainability portals immediately. |
| report.generated | When a CSRD, CBAM, or GHG Inventory disclosure report finishes generating. | Archive the finalized report package automatically into SharePoint or Google Drive. |
2. Sample Webhook Payload (JSON)
When a subscribed event occurs, ClimeqAI sends an HTTP POST request with the following JSON structure to your HTTPS endpoint:
{
"eventId": "evt_01J8X9K2M4N6P8Q0R2S4T6V8W0",
"event": "emission.verified",
"timestamp": "2026-10-26T14:35:12Z",
"organizationId": "org_climeq_enterprise_01",
"data": {
"emissionId": "em_94a8f2c1-7b3d-4e9a-8c21-6f0e5d1a3b9c",
"externalReferenceId": "SAP-INV-2026-009841",
"sourceType": "Electricity",
"scope": "Scope 2",
"calculatedCo2e": 0.5477,
"unit": "tCO2e",
"isSealed": true,
"blockchainTxHash": "0x7f9c8b4e2a1d6f3e5c8b9a0d2e4f6a8b1c3d5e7f9a2b4c6d8e0f1a3b5c7d9e1f"
}
}
3. Signature Verification (X-Climeq-Signature)
To verify that incoming webhook requests come from ClimeqAI and have not been modified in transit, every delivery includes the X-Climeq-Signature HTTP header:
1. When you create a webhook endpoint, ClimeqAI generates a unique whsec_... signing secret.
2. ClimeqAI computes an HMAC-SHA256 hash of the raw request body using your whsec_... secret and sends it in the X-Climeq-Signature header.
3. Compute the same HMAC on your server and compare the signatures:
import crypto from 'crypto';
function verifyClimeqWebhook(rawBody, signatureHeader, webhookSecret) {
const expectedSignature = crypto
.createHmac('sha256', webhookSecret)
.update(rawBody, 'utf8')
.digest('hex');
return crypto.timingSafeEqual(
Buffer.from(signatureHeader),
Buffer.from(expectedSignature)
);
}
[!IMPORTANT]
Your webhook endpoint must return a
2xx(200 OKor202 Accepted) HTTP status code within 5 seconds of receiving the payload. Move long-running tasks to a background queue before returning your response.
Platform Guide & Technical Documents
- Smart Invoice and Document Reader
- Carbon Forecasting and Scenario Analysis
- AI Workflow Management
- Supply Chain Risk Monitoring
- VALENQ Engine Mapping & Industry Codes
- Catalog Search, Units & Private Factors
- API Versioning & Changelog
- Energy, Freight, Procurement & Travel APIs
- Product, CBAM, Cloud, IoT & Passport APIs
- OpenAPI, Postman & MCP Server
- Audit Logs User Guide
- Corporate Emission Calculation Methods
- Blockchain Data Sealing and Verification
- Digital Product Passport Guide
- Supported Reporting Standards
- Dashboard User Guide
- Data Quality, Standardization & Version Management
- Decarbonization Pathways User Guide
- Digital Product Passport Workspace
- AI Emission Factor Mapping Methodology
- Emission Factor Library
- Emission Scopes (Scope 1, 2 & 3)
- Validating and Approving Emission Data
- Data Explorer & Carbon Ledger User Guide
- Frequently Asked Questions (FAQ)
- Carbon Accounting & Sustainability Glossary
- Support Center & Help Channels
- Financial Integration & ERP Sync User Guide
- Core & Batch Emission Calculation API
- API Authentication, Permissions & Error Codes
- ERP, Cloud & IoT Connectors
- Webhooks & Signature Verification
- Intelligence & Resilience Hub User Guide
- Organization Invitations
- Methodology Overview
- Mission Control Center User Guide
- Carbon Offset & Environmental Attribute Hub User Guide
- Account Creation and First Steps
- Role and Permission Management (RBAC)
- Team Setup and Organization Management
- Product Carbon Footprint & CBAM Methodology
- Product Impact & LCA Studio User Guide
- Quickstart (Step 1): Generating an API Key
- Quickstart (Step 2): Making Your First Calculation Request
- Quickstart (Step 3): Reviewing, Approving & Anchoring Records
- Reports Hub & AI Report Editor User Guide
- ESG Risk Guardian User Guide
- Security Center
- Data Lineage, Integrity & Independent Auditor Workspace
- Data Security and Encryption
- Identity and Access Management (IAM)
- System & Organization Settings User Guide
- Supply Chain & Value Chain Portal User Guide
- Sustainability & Targets Hub User Guide
- User Management (RBAC)
- Webhook Management