---
title: "Triggers compliance recompile process for specified candidates for a specific agency group"
method: POST
path: "/agency-group/{agency_group_id}/compilation-changes"
tags: ["Agency Group Candidate Compilation Changes"]
---

# Triggers compliance recompile process for specified candidates for a specific agency group

`POST /agency-group/{agency_group_id}/compilation-changes`

## Headers

- `Authorization` string, string, required
- `Context` string, string, required
- `Accept` 'application/json', required
- `X-Accept-Timezone` string

## Request body

- object
  - `action` 'recompile-all', required
  - `candidate_ids` string[], required

## Response `200`

Compliance recompilation success response will be returned

- object
  - `agency_group_id` string, required
  - `action` 'recompile-all', required
  - `candidate_ids` string[], required

## Other responses

- `400` — Validation error response when recompiling compliance data
- `401` — Failed to authenticate the user making the request
- `403` — Permission denied error
- `default` — Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/staffshift/staffshift-api-gateway/revisions/6e2cb83db3a9/schema)
