Creates intel from Threat Mailbox emails in Intel Exchange.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| email_id | string | optional | Pass the unique ID of an email |
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| source_type | string | required | Pass the email accounts from which the intel is received. |
| content | object | optional | Pass the IOCs selected from the email content. |
| attached_content | object | optional | Pass the IOCs selected from email attachments. |
| metadata | object | optional | Pass the additional details of the report. |
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 PUT \
--url "https://cs-testv2.cyware.com/ctixapi/conversion/feed-sources/1f429416-4467-43fb-96e0-708f64533f37/stix/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E" \
--data '{
"source_type": "email_accounts",
"content": {},
"attached_content": {},
"metadata": {}
}'View-only example — running live API calls requires a role with snippet testing access.
const url = "https://cs-testv2.cyware.com/ctixapi/conversion/feed-sources/1f429416-4467-43fb-96e0-708f64533f37/stix/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E";
const response = await fetch(url, {
method: "PUT",
headers: {},
body: JSON.stringify({
"source_type": "email_accounts",
"content": {},
"attached_content": {},
"metadata": {}
}),
});
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/conversion/feed-sources/1f429416-4467-43fb-96e0-708f64533f37/stix/"
params = {
"AccessID": "<your access id>",
"Signature": "<your signature>",
"Expires": "<your expires>"
}
headers = {}
payload = {
"source_type": "email_accounts",
"content": {},
"attached_content": {},
"metadata": {}
}
response = requests.request("PUT", 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_type": "email_accounts",
"content": {},
"attached_content": {},
"metadata": {}
}View-only example — running live API calls requires a role with snippet testing access.
{
"details": "you will be notified once stix get created."
}View-only example — running live API calls requires a role with snippet testing access.