---
updatedAt: 2026-05-28T15:48:11.000Z
agentTools:
  projectIndex: https://dev.frontapp.com/llms.txt
---

# Get rule

Fetch a rule.

Required scope: `rules:read`

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "x-api-id": "front",
  "x-explorer-enabled": false,
  "x-proxy-enabled": true,
  "x-samples-enabled": true,
  "info": {
    "version": "1.0.0",
    "title": "Core API",
    "contact": {
      "name": "Front Platform",
      "url": "https://community.front.com"
    }
  },
  "security": [
    {
      "http": []
    }
  ],
  "servers": [
    {
      "url": "https://api2.frontapp.com"
    }
  ],
  "components": {
    "schemas": {
      "RuleResponse": {
        "type": "object",
        "required": [
          "_links",
          "id",
          "name",
          "actions",
          "is_private"
        ],
        "properties": {
          "_links": {
            "type": "object",
            "properties": {
              "self": {
                "type": "string",
                "description": "Link to resource",
                "example": "https://yourCompany.api.frontapp.com/rules/rul_58xhq"
              },
              "related": {
                "type": "object",
                "properties": {
                  "owner": {
                    "type": "string",
                    "description": "Link to rule owner",
                    "example": null,
                    "nullable": true
                  }
                }
              }
            }
          },
          "id": {
            "type": "string",
            "description": "Unique identifier of the rule",
            "example": "rul_58xhq"
          },
          "name": {
            "type": "string",
            "description": "Name of the rule",
            "example": "Scranton new account workflow"
          },
          "actions": {
            "type": "array",
            "description": "List of the rule's actions description",
            "example": [
              "Assign to Pam",
              "Unassign from Michael",
              "Tag with Scranton is the Best Branch",
              "Tag with Michael is the Best Boss"
            ],
            "items": {
              "type": "string"
            }
          },
          "is_private": {
            "type": "boolean",
            "description": "Whether or not the rule is individual",
            "example": false
          }
        }
      }
    },
    "securitySchemes": {
      "http": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "responses": {
      "rule": {
        "description": "A rule",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/RuleResponse"
            }
          }
        }
      }
    }
  },
  "paths": {
    "/rules/{rule_id}": {
      "get": {
        "summary": "Get rule",
        "operationId": "get-rule",
        "description": "Fetch a rule.\n\nRequired scope: `rules:read`",
        "tags": [
          "Rules"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "rule_id",
            "required": true,
            "description": "The Rule ID",
            "schema": {
              "type": "string",
              "default": "rul_123"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/rule"
          }
        },
        "x-required-scopes": [
          "rules:read"
        ]
      }
    }
  }
}
```