---
title: "Save Project Followup Rules"
method: POST
path: "/api/app-auto-gtm/projects/{project_id}/save-followup-rules"
tags: ["AppAutoGtm"]
---

# Save Project Followup Rules

`POST /api/app-auto-gtm/projects/{project_id}/save-followup-rules`

Apply one follow-up sequence to every campaign in the project, transactionally.

The "apply to all" action for follow-ups (T-372) — per-campaign edits go
through PATCH /segments/{id}. One transaction instead of N concurrent client
PATCHes (which could partially fail and leave campaigns inconsistent). rules
is already clamped by SegmentFollowupRules (max_touches <= 6, delay_days in
[1,30]).

## Path parameters

- `project_id` integer, required

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Request body

- SaveFollowupRulesRequest — One follow-up sequence applied to every campaign ("apply to all"). Per-campaign edits go through PATCH /segments/{id}, not this endpoint.
  - `rules` SegmentFollowupRules, required
    - `max_touches` integer
    - `delay_days` integer, nullable
    - `stop_on_reply` boolean, nullable

## Response `200`

Successful Response

- SaveOkResponse
  - `ok` boolean

## Other responses

- `422` — Validation Error

---

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