---
updatedAt: 2026-08-10T12:21:58.000Z
agentTools:
  projectIndex: https://monta-partner-api.readme.io/llms.txt
---

# Retrieve Tariff Period Groups by tariff id

Required scope: `tariff:read`

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Monta API",
    "description": "\n             see https://docs.partner-api.monta.com\n             ",
    "contact": {
      "name": "Monta API Support",
      "url": "https://www.monta.com/uk/contact",
      "email": "partner-api@monta.com"
    },
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://partner-api.monta.com",
      "description": "Production"
    }
  ],
  "security": [],
  "tags": [
    {
      "name": "Tariff Period Groups"
    }
  ],
  "paths": {
    "/api/v1/tariff-period-groups": {
      "get": {
        "tags": [
          "Tariff Period Groups"
        ],
        "summary": "Retrieve Tariff Period Groups by tariff id",
        "description": "Required scope: `tariff:read`",
        "operationId": "get-period-groups",
        "parameters": [
          {
            "name": "tariffId",
            "in": "query",
            "description": "Filter to retrieve tariff period groups by tariff id",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Tariff period group with provided tariff id",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TariffPeriodGroup"
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "status": "BAD_REQUEST",
                    "message": "Invalid request",
                    "errorCode": "BAD_REQUEST"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Consumer with provided credentials was not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "status": "UNAUTHORIZED",
                    "message": "Consumer with given `clientId` and `clientSecret` not found",
                    "errorCode": "CONSUMER_NOT_FOUND"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Operator doesn't have access to resource",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "status": "FORBIDDEN",
                    "message": "Operator doesn't have access to resource",
                    "errorCode": "ACCESS_FORBIDDEN"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Entity with the provided id was not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "status": "NOT_FOUND",
                    "message": "Requested entity/entity provided in body was not found",
                    "readableMessage": "user friendly message",
                    "errorCode": "RESOURCE_NOT_FOUND",
                    "context": "context"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAccessToken": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "TariffPeriodGroup": {
        "required": [
          "activeFrom",
          "activeTo",
          "description"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "tariff period group id",
            "format": "int64"
          },
          "activeFrom": {
            "type": "string",
            "description": "tariff period group active from date",
            "format": "date"
          },
          "activeTo": {
            "type": "string",
            "description": "tariff period group active to date",
            "format": "date"
          },
          "description": {
            "type": "string",
            "description": "tariff period group description"
          },
          "tariffId": {
            "type": "integer",
            "description": "tariff id",
            "format": "int64"
          }
        }
      }
    },
    "securitySchemes": {
      "BearerAccessToken": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-stability-level": "stable"
}
```