View Integration
View Integration
GET
https://api.ocamba.com/v2/ocamba/event-system/integrations/{id}
Retrieves the details of an Integration that has previously been created if a valid identifier was providedPath parameters
parametersResponse schemas
›
200
application/json
curl -X GET \
"https://api.ocamba.com/v2/ocamba/event-system/integrations/{id}" \
-H "Authorization: Bearer {TOKEN}"const url = 'https://api.ocamba.com/v2/ocamba/event-system/integrations/{id}';
const options = {
method: 'GET',
headers: {
Authorization: `Bearer {TOKEN}`
}
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}$ch = curl_init("https://api.ocamba.com/v2/ocamba/event-system/integrations/{id}");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer {TOKEN}"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);Responses
200 OK
{
"total": 1,
"items": [
{
"id": "10014",
"name": "Integration",
"description": "Description of integration",
"logo": "https://www.google.com/search?q=logo&rlz=1C5CHFA_enRS985RS988",
"homepage": "https://delsystems.net/index.htm",
"version": "1.1.10",
"audience": "public",
"events": [
{
"id": "1026",
"integration_id": "10002",
"name": "Create Event",
"item": "item",
"description": "Creates a Event",
"create_time": "2021-07-30 12:50:13",
"update_time": "2021-07-30 12:50:13"
}
],
"actions": [
{
"id": "1014",
"integration_id": "10014",
"name": "Create Ticket",
"item": "Ticket",
"engine": "email",
"properties": {
"label": {
"key": "url",
"type": "string",
"description": "design description",
"required": true
}
},
"description": "Creates a Ticket",
"create_time": "2021-07-30 12:50:13",
"update_time": "2021-07-30 12:50:13"
}
],
"create_time": "2021-07-30 12:50:13",
"update_time": "2021-07-30 12:50:13"
}
]
}
Responses
Tip
If you don’t know the integration id, list the integrations to find it.