curl --request POST \
--url https://inbound.new/api/e2/guard/generate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "<string>"
}
'{
"config": {
"mode": "<string>",
"subject": {
"operator": "<string>",
"values": [
"<string>"
]
},
"from": {
"operator": "<string>",
"values": [
"<string>"
]
},
"hasAttachment": true,
"hasWords": {
"operator": "<string>",
"values": [
"<string>"
]
}
}
}Use AI to convert a natural language description into an explicit guard rule configuration.
curl --request POST \
--url https://inbound.new/api/e2/guard/generate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "<string>"
}
'{
"config": {
"mode": "<string>",
"subject": {
"operator": "<string>",
"values": [
"<string>"
]
},
"from": {
"operator": "<string>",
"values": [
"<string>"
]
},
"hasAttachment": true,
"hasWords": {
"operator": "<string>",
"values": [
"<string>"
]
}
}
}Your Inbound API key. Include it in the Authorization header as: Bearer
Natural language description of the rule
1Response for status 200
Show child attributes
Was this page helpful?