curl --request POST \
--url https://inbound.new/api/e2/guard/{id}/check \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"structuredEmailId": "<string>"
}
'{
"matched": true,
"matchDetails": [
{
"criteria": "<string>",
"value": "<string>"
}
],
"reason": "<string>"
}Test a guard rule against a specific email to see if it would match.
curl --request POST \
--url https://inbound.new/api/e2/guard/{id}/check \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"structuredEmailId": "<string>"
}
'{
"matched": true,
"matchDetails": [
{
"criteria": "<string>",
"value": "<string>"
}
],
"reason": "<string>"
}Your Inbound API key. Include it in the Authorization header as: Bearer
ID of the email to test against the rule
Was this page helpful?