Download OpenAPI specification:
Event Notification services API.
A webhook endpoint must have a url and a list of enabled_events, then webhook endpoint notifies the specified url about events.
OPNC-from-party-type | string Enum: "emsp" "cpo" "oem" "pki" "cps" "pcp" "ccp" Specifies the type of party that originated this request |
OPNC-from-party-id | string Specifies the ID of the party that originated this request. The ID format depends on the type of the party (WMI for OEM, ProviderID for EMSP, OperatorID for CPO, SHA-256 fingerprint of Root CA for PKI or CPS) |
OPNC-to-party-type | string Enum: "emsp" "cpo" "oem" "pki" "cps" "pcp" "ccp" Specifies the type of party to which this request should be addressed. |
OPNC-to-party-id | string Specifies the party ID to which this request should be addressed. The ID format depends on the type of the party (WMI for OEM, ProviderID for EMSP, OperatorID for CPO, SHA-256 fingerprint of Root CA for PKI or CPS..) |
Request body for creating webhook endpoint
apiVersion | string Optional: Events sent to this endpoint will be generated with this version. |
description | string An optional description of what the webhook is used for. |
enabledEvents required | Array of arrays We need to add WMI opjects |
wmi | Array of arrays We need to add WMI opjects |
metadata | object Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. |
status | string The status of the webhook. It can be enabled or disabled. |
url required | string The URL of the webhook endpoint. |
{- "description": "This my webhook",
- "enabledEvents": [
- "oem.contract.created",
- "oem.contract.updated",
- "oem.contract.deleted"
], - "wmi": [
- "WPO",
- "WVW",
- "WAU"
], - "status": "enabled",
}
{- "id": "xyzedjds",
- "apiVersion": "v1",
- "created": 1623760573,
- "description": "Test webhook",
- "enabledEvents": [
- "oem.contract.created",
- "oem.contract.deleted"
], - "wmi": [
- "WPO",
- "WVW",
- "WAU"
], - "metadata": { },
- "status": "enabled",
- "secret": "secret keyword"
}
Returns users all webhook endpoints
OPNC-from-party-type | string Enum: "emsp" "cpo" "oem" "pki" "cps" "pcp" "ccp" Specifies the type of party that originated this request |
OPNC-from-party-id | string Specifies the ID of the party that originated this request. The ID format depends on the type of the party (WMI for OEM, ProviderID for EMSP, OperatorID for CPO, SHA-256 fingerprint of Root CA for PKI or CPS) |
OPNC-to-party-type | string Enum: "emsp" "cpo" "oem" "pki" "cps" "pcp" "ccp" Specifies the type of party to which this request should be addressed. |
OPNC-to-party-id | string Specifies the party ID to which this request should be addressed. The ID format depends on the type of the party (WMI for OEM, ProviderID for EMSP, OperatorID for CPO, SHA-256 fingerprint of Root CA for PKI or CPS..) |
[- {
- "id": "string",
- "apiVersion": "string",
- "created": 0,
- "description": "string",
- "enabledEvents": [
- "string"
], - "metadata": { },
- "status": "string",
- "url": "string",
- "secret": "string",
- "providerIds": [
- "string"
], - "wmis": [
- "string"
], - "userRole": "string",
- "userName": "string"
}
]
Returns webhook endpoint for a given ID
id required | string Endpoint ID |
OPNC-from-party-type | string Enum: "emsp" "cpo" "oem" "pki" "cps" "pcp" "ccp" Specifies the type of party that originated this request |
OPNC-from-party-id | string Specifies the ID of the party that originated this request. The ID format depends on the type of the party (WMI for OEM, ProviderID for EMSP, OperatorID for CPO, SHA-256 fingerprint of Root CA for PKI or CPS) |
OPNC-to-party-type | string Enum: "emsp" "cpo" "oem" "pki" "cps" "pcp" "ccp" Specifies the type of party to which this request should be addressed. |
OPNC-to-party-id | string Specifies the party ID to which this request should be addressed. The ID format depends on the type of the party (WMI for OEM, ProviderID for EMSP, OperatorID for CPO, SHA-256 fingerprint of Root CA for PKI or CPS..) |
{- "id": "xyzedjds",
- "apiVersion": "v1",
- "created": 1623760573,
- "description": "Test webhook",
- "enabledEvents": [
- "oem.contract.created",
- "oem.contract.deleted"
], - "metadata": { },
- "status": "enabled",
- "secret": "secret keyword",
- "providerIds": [
- "ABCDF",
- "DEQUF"
], - "wmis": [
- "XXX",
- "YYY",
- "ZZZ"
], - "userRole": "eMSP",
- "userName": "Test User"
}
Updates the webhook endpoint. You may edit the url, the list of enabled_events, and the status of your endpoint.
id required | string Endpoint ID |
OPNC-from-party-type | string Enum: "emsp" "cpo" "oem" "pki" "cps" "pcp" "ccp" Specifies the type of party that originated this request |
OPNC-from-party-id | string Specifies the ID of the party that originated this request. The ID format depends on the type of the party (WMI for OEM, ProviderID for EMSP, OperatorID for CPO, SHA-256 fingerprint of Root CA for PKI or CPS) |
OPNC-to-party-type | string Enum: "emsp" "cpo" "oem" "pki" "cps" "pcp" "ccp" Specifies the type of party to which this request should be addressed. |
OPNC-to-party-id | string Specifies the party ID to which this request should be addressed. The ID format depends on the type of the party (WMI for OEM, ProviderID for EMSP, OperatorID for CPO, SHA-256 fingerprint of Root CA for PKI or CPS..) |
apiVersion | string Optional: Events sent to this endpoint will be generated with this version. |
description | string An optional description of what the webhook is used for. |
enabledEvents | string (EventEnumV1) Enum: "root.cert.added" "root.cert.expired" "emsp.prov.cert.updated" "emsp.prov.cert.deleted" "emsp.prov.cert.updated.factory.reset" "emsp.contract.delivered.to.oem" "emsp.contract.created.sent.to.oem" "emsp.contract.updated.sent.to.oem" "emsp.contract.deleted.sent.to.oem" "emsp.contract.rejected.by.oem" "emsp.contract.queued.to.oem" "oem.contract.created" "oem.contract.updated" "oem.contract.deleted" |
metadata | object Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. |
status | string The status of the webhook. It can be enabled or disabled. |
url required | string The URL of the webhook endpoint. |
{- "apiVersion": "string",
- "description": "string",
- "enabledEvents": "root.cert.added",
- "metadata": { },
- "status": "string",
- "url": "string"
}
{- "id": "xyzedjds",
- "apiVersion": "v1",
- "created": 1623760573,
- "description": "Test webhook",
- "enabledEvents": [
- "oem.contract.created",
- "oem.contract.deleted"
], - "wmi": [
- "WPO",
- "WVW",
- "WAU"
], - "metadata": { },
- "status": "enabled",
}
Delete an endpoint by ID
id required | string Endpoint ID |
OPNC-from-party-type | string Enum: "emsp" "cpo" "oem" "pki" "cps" "pcp" "ccp" Specifies the type of party that originated this request |
OPNC-from-party-id | string Specifies the ID of the party that originated this request. The ID format depends on the type of the party (WMI for OEM, ProviderID for EMSP, OperatorID for CPO, SHA-256 fingerprint of Root CA for PKI or CPS) |
OPNC-to-party-type | string Enum: "emsp" "cpo" "oem" "pki" "cps" "pcp" "ccp" Specifies the type of party to which this request should be addressed. |
OPNC-to-party-id | string Specifies the party ID to which this request should be addressed. The ID format depends on the type of the party (WMI for OEM, ProviderID for EMSP, OperatorID for CPO, SHA-256 fingerprint of Root CA for PKI or CPS..) |