Create Connection
Diving Deep?
This page is designed for AI Agents & users developing code directly. See Getting Started and Platform Guides
POST /api/v1/connections/create¶
Create a new raw-data connection.
const apiKey = "YOUR_API_KEY_HERE";
const url = `https://api.shipp.ai/api/v1/connections/create?api_key=${apiKey}`;
const response = await fetch(url, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
filter_instructions: "High Impact Moments from MLB",
})
});
const result = await response.json();
Request body¶
Response (200)¶
{
"connection_id": "01KFXTX1WDQ68A1GS77T1XJ5YB",
"enabled": true,
"name": "string",
"description": "string"
}
Errors¶
- 400: invalid JSON, empty body, or missing
filter_instructions - 500: unexpected server error