Create Integration
Create Integration
POST
https://api.ocamba.com/v1/hood/integrations
Creates an Integration
Rate limits:
Burst: 10/s
Steady: 150/m
Request schema
bodyPOST https://api.ocamba.com/v1/hood/integrations HTTP/1.1
Host: api.ocamba.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
{
"name": "My First Integration",
"provider_id": "1000",
"settings": null,
"status": "active"
}
curl -X POST "https://api.ocamba.com/v1/hood/integrations" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"My First Integration","provider_id":"1000","settings":null,"status":"active"}'
fetch("https://api.ocamba.com/v1/hood/integrations", {
method: "POST",
headers: { Authorization: `Bearer ${TOKEN}`, "Content-Type": "application/json" },
body: JSON.stringify(
{
"name": "My First Integration",
"provider_id": "1000",
"settings": null,
"status": "active"
}
)
}).then(r => r.json());
$ch = curl_init("https://api.ocamba.com/v1/hood/integrations");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer $token",
"Content-Type: application/json"
]);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(
[
"name" => "My First Integration",
"provider_id" => "1000",
"settings" => null,
"status" => "active"
]
));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
Responses
201 Created
HTTP/1.1 201 Created
Content-Type: application/json
Responses
Note
1
The settings may differ according to the provider id.