Create an event listener
curl --request POST \
--url https://api2.rhombussystems.com/api/developer/createEventListener \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"eventListner": {
"activities": [],
"clientCertificate": [
"aSDinaTvuI8gbWludGxpZnk="
],
"clientKey": [
"aSDinaTvuI8gbWludGxpZnk="
],
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"hostname": "<string>",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"trustedCertificate": [
"aSDinaTvuI8gbWludGxpZnk="
],
"uri": "<string>",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
}
'import requests
url = "https://api2.rhombussystems.com/api/developer/createEventListener"
payload = { "eventListner": {
"activities": [],
"clientCertificate": ["aSDinaTvuI8gbWludGxpZnk="],
"clientKey": ["aSDinaTvuI8gbWludGxpZnk="],
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"hostname": "<string>",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"trustedCertificate": ["aSDinaTvuI8gbWludGxpZnk="],
"uri": "<string>",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
} }
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
eventListner: {
activities: [],
clientCertificate: ['aSDinaTvuI8gbWludGxpZnk='],
clientKey: ['aSDinaTvuI8gbWludGxpZnk='],
deviceUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
hostname: '<string>',
orgUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
trustedCertificate: ['aSDinaTvuI8gbWludGxpZnk='],
uri: '<string>',
uuid: 'AAAAAAAAAAAAAAAAAAAAAA'
}
})
};
fetch('https://api2.rhombussystems.com/api/developer/createEventListener', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/developer/createEventListener")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"eventListner\": {\n \"activities\": [],\n \"clientCertificate\": [\n \"aSDinaTvuI8gbWludGxpZnk=\"\n ],\n \"clientKey\": [\n \"aSDinaTvuI8gbWludGxpZnk=\"\n ],\n \"deviceUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"hostname\": \"<string>\",\n \"orgUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"trustedCertificate\": [\n \"aSDinaTvuI8gbWludGxpZnk=\"\n ],\n \"uri\": \"<string>\",\n \"uuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n }\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"eventListenerUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"warningMsg": "<string>"
}Developer Webservice
Create an event listener
Create an event listener
POST
/
api
/
developer
/
createEventListener
Create an event listener
curl --request POST \
--url https://api2.rhombussystems.com/api/developer/createEventListener \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"eventListner": {
"activities": [],
"clientCertificate": [
"aSDinaTvuI8gbWludGxpZnk="
],
"clientKey": [
"aSDinaTvuI8gbWludGxpZnk="
],
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"hostname": "<string>",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"trustedCertificate": [
"aSDinaTvuI8gbWludGxpZnk="
],
"uri": "<string>",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
}
'import requests
url = "https://api2.rhombussystems.com/api/developer/createEventListener"
payload = { "eventListner": {
"activities": [],
"clientCertificate": ["aSDinaTvuI8gbWludGxpZnk="],
"clientKey": ["aSDinaTvuI8gbWludGxpZnk="],
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"hostname": "<string>",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"trustedCertificate": ["aSDinaTvuI8gbWludGxpZnk="],
"uri": "<string>",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
} }
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
eventListner: {
activities: [],
clientCertificate: ['aSDinaTvuI8gbWludGxpZnk='],
clientKey: ['aSDinaTvuI8gbWludGxpZnk='],
deviceUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
hostname: '<string>',
orgUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
trustedCertificate: ['aSDinaTvuI8gbWludGxpZnk='],
uri: '<string>',
uuid: 'AAAAAAAAAAAAAAAAAAAAAA'
}
})
};
fetch('https://api2.rhombussystems.com/api/developer/createEventListener', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/developer/createEventListener")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"eventListner\": {\n \"activities\": [],\n \"clientCertificate\": [\n \"aSDinaTvuI8gbWludGxpZnk=\"\n ],\n \"clientKey\": [\n \"aSDinaTvuI8gbWludGxpZnk=\"\n ],\n \"deviceUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"hostname\": \"<string>\",\n \"orgUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"trustedCertificate\": [\n \"aSDinaTvuI8gbWludGxpZnk=\"\n ],\n \"uri\": \"<string>\",\n \"uuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n }\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"eventListenerUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"warningMsg": "<string>"
}Authorizations
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
Available options:
api-token, api, partner-api-token, partner-api Body
application/json
Request object for creating an event listener.
List of event listeners for the specified device
Show child attributes
Show child attributes
Last modified on September 22, 2026