---
updatedAt: 2026-06-25T13:16:45.000Z
agentTools:
  projectIndex: https://loyalty.developer.dotdigital.com/llms.txt
---

# List rules

Lists all the reward rules in your loyalty program.

# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "Dotdigital Loyalty",
    "description": "Manage loyalty program members, rewards, and rules. Use this API to retrieve\nmember details, points history, redemption history, and tier progress; list\navailable rewards and generate coupon codes; and list reward rules and register\nsocial media engagement events for a customer.",
    "version": "v1.0.1"
  },
  "externalDocs": {
    "description": "Learn more about Dotdigital Loyalty APIs",
    "url": "https://developer-loyalty.dotdigital.com/"
  },
  "servers": [
    {
      "url": "https://{region}-api.dotdigital.com",
      "variables": {
        "region": {
          "description": "The Dotdigital region id your account belongs to",
          "enum": [
            "r1",
            "r2",
            "r3"
          ],
          "default": "r1"
        }
      }
    }
  ],
  "security": [
    {
      "basicAuth": []
    }
  ],
  "paths": {
    "/loyalty/v1/rules": {
      "get": {
        "tags": [
          "Rules"
        ],
        "summary": "List rules",
        "description": "Lists all the reward rules in your loyalty program.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RuleDetails"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "RuleDetails": {
        "required": [
          "definition",
          "enabled",
          "id",
          "name",
          "pointsAward",
          "tiers",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "type": {
            "$ref": "#/components/schemas/RuleType"
          },
          "enabled": {
            "type": "boolean",
            "description": "Whether the reward rule is enabled or not."
          },
          "name": {
            "type": "string",
            "description": "The reward rules name.",
            "nullable": true,
            "example": "Complete purchase"
          },
          "pointsAward": {
            "type": "integer",
            "description": "The number of reward points awarded if you mee this rule.",
            "format": "int32",
            "nullable": true,
            "example": 100
          },
          "definition": {
            "type": "object",
            "description": "The rule definition.",
            "nullable": true
          },
          "tiers": {
            "type": "array",
            "description": "The reward tiers this rule applies to.",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/RuleTierDetails"
            }
          }
        },
        "additionalProperties": false
      },
      "RuleTierDetails": {
        "required": [
          "enabled",
          "level",
          "pointsAward"
        ],
        "type": "object",
        "properties": {
          "level": {
            "minimum": 0,
            "type": "integer",
            "description": "The reward rule level.",
            "format": "int32",
            "example": 2
          },
          "pointsAward": {
            "type": "integer",
            "description": "The number of reward points awarded if you mee this rule.",
            "format": "int32",
            "example": 200
          },
          "enabled": {
            "type": "boolean",
            "description": "Whether the reward rule is enabled or not at this level."
          }
        },
        "additionalProperties": false
      },
      "RuleType": {
        "type": "string",
        "description": "The reward rules type.",
        "example": "Purchase",
        "enum": [
          "Purchase",
          "SignUp",
          "Birthday",
          "Anniversary",
          "SocialEngagement"
        ]
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "x-samples-languages": [
    "curl",
    "csharp",
    "java",
    "javascript",
    "node",
    "python",
    "php",
    "ruby"
  ]
}
```

# Sibling pages

* [Register social media engagment](https://loyalty.developer.dotdigital.com/reference/post_loyalty-v1-rules-social-media-engagement-ruleid.md)