Use this API to ingest a STIX bundle into Intel Exchange by specifying the source and collection ID. A STIX bundle can include any combination of STIX Domain Objects (SDOs). For more information on supported objects, see the STIX documentation.
NOTE If you pass an invalid or missing source_id or collection_id, the bundle is ingested with the source set to Import and the collection set to STIX2.
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| source_id | string | required | Pass the unique identifier for the source of the bundle being ingested. |
| source_type | string | required | Pass the type of the source. For example, |
| collection_id | string | required | Pass the unique identifier for the collection that should receive the bundle. |
| bundle | object | required | Pass the STIX bundle that includes one or more STIX objects. |
Run it
Use the Request parameters panel to enter path IDs, query values, JSON body, and credentials. Then run any snippet below — all languages use the same values. Base URL: https://cs-testv2.cyware.com/ctixapi (change in API Settings).
Playground
Request parameters
Edit values here before running any snippet below (cURL, JavaScript, or Python). Code blocks are reference only — your inputs above are what gets sent.
Open API (HMAC signature) · Get credentials from Cyware Admin → Open API → Generate Credentials.
Signature and Expires are generated when you run a request. Access ID and Secret Key stay in memory for this tab only.
Credentials from Authentication auto-fill here for this product. If fields are empty after connecting, refresh this page or open the product docs again.
curl --request POST \
--url "https://cs-testv2.cyware.com/ctixapi/ingestion/ingestion-api/ingest_bundle/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E" \
--data '{
"source_id": "d2ab6414-416d-4dba-a23c-fde56a75a17a",
"source_type": "CUSTOM_STIX_SOURCES",
"collection_id": "7e8fbe54-abf1-4f5b-82b0-21eb7d9e7fdc",
"bundle": {}
}'View-only example — running live API calls requires a role with snippet testing access.
const url = "https://cs-testv2.cyware.com/ctixapi/ingestion/ingestion-api/ingest_bundle/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E";
const response = await fetch(url, {
method: "POST",
headers: {},
body: JSON.stringify({
"source_id": "d2ab6414-416d-4dba-a23c-fde56a75a17a",
"source_type": "CUSTOM_STIX_SOURCES",
"collection_id": "7e8fbe54-abf1-4f5b-82b0-21eb7d9e7fdc",
"bundle": {}
}),
});
const text = await response.text();
let data;
try { data = JSON.parse(text); } catch { data = text; }
console.log(response.status, data);View-only example — running live API calls requires a role with snippet testing access.
import requests
url = "https://cs-testv2.cyware.com/ctixapi/ingestion/ingestion-api/ingest_bundle/"
params = {
"AccessID": "<your access id>",
"Signature": "<your signature>",
"Expires": "<your expires>"
}
headers = {}
payload = {
"source_id": "d2ab6414-416d-4dba-a23c-fde56a75a17a",
"source_type": "CUSTOM_STIX_SOURCES",
"collection_id": "7e8fbe54-abf1-4f5b-82b0-21eb7d9e7fdc",
"bundle": {}
}
response = requests.request("POST", url, params=params, headers=headers, json=payload)
print(response.status_code)
print(response.text)View-only example — running live API calls requires a role with snippet testing access.
{
"source_id": "d2ab6414-416d-4dba-a23c-fde56a75a17a",
"source_type": "CUSTOM_STIX_SOURCES",
"collection_id": "7e8fbe54-abf1-4f5b-82b0-21eb7d9e7fdc",
"bundle": {}
}View-only example — running live API calls requires a role with snippet testing access.
{
"success": true,
"message": "Successfully sent bundle to ingestion."
}View-only example — running live API calls requires a role with snippet testing access.