curl --request GET \
--url https://inbound.new/api/e2/guard \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": [
{
"id": "<string>",
"userId": "<string>",
"name": "<string>",
"description": "<string>",
"type": "<string>",
"config": "<string>",
"isActive": true,
"priority": 123,
"lastTriggeredAt": "<string>",
"triggerCount": 123,
"actions": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"pagination": {
"total": 123,
"limit": 123,
"offset": 123,
"hasMore": true
}
}Get all guard rules for the authenticated user with optional filtering and pagination.
curl --request GET \
--url https://inbound.new/api/e2/guard \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": [
{
"id": "<string>",
"userId": "<string>",
"name": "<string>",
"description": "<string>",
"type": "<string>",
"config": "<string>",
"isActive": true,
"priority": 123,
"lastTriggeredAt": "<string>",
"triggerCount": 123,
"actions": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"pagination": {
"total": 123,
"limit": 123,
"offset": 123,
"hasMore": true
}
}Your Inbound API key. Include it in the Authorization header as: Bearer
Search by rule name or description
explicit, ai_prompt Filter by active status (true/false)
Max results (1-100, default 50)
Number to skip (default 0)
Was this page helpful?