Topolo Docs Topolo Platform
Open workspace

Update Recruit settings

Change the privacy notice shown on application forms (null restores the default notice), the retention period in days (30 to 3650; applies to applications from now on) or automatic acknowledgement emails. Only the fields sent change. Recruiters only.

Outcome

Change the privacy notice shown on application forms (null restores the default notice), the retention period in days (30 to 3650; applies to applications from now on) or automatic acknowledgement emails. Only the fields sent change. Recruiters only.

Before you start

  • Verify identity and the pinned organization context, then discover the exact action and a granted Recruit workspace.
  • The required application permission is workspace:write. Hiring-team roles and record visibility are enforced separately; a workspace grant alone does not grant every Recruit action.
  • Organization and workspace identity come from verified context. Pass the workspace as resourceType/resourceId, separate from action input; request-body organizationId/workspaceId values cannot select an authorized scope.
  • The first authorized action can initialize an identity-only workspace mirror and invoke the configured workspace-created callback. It does not create an Auth workspace or grant new access.

Recruiters can perform the full hiring workflow. Hiring managers see their managed roles and candidates; interviewers see assigned interviews and their candidates. Workspace owners and organization administrators act as recruiters. Use team.me to read the caller's effective role and allowed actions.

Discover the target

topolo whoami --json
topolo actions get app_topolo_recruit.settings.update --detail --json
topolo resources topolo-recruit --json
topolo workspaces list topolo-recruit --json
topolo actions get app_topolo_recruit.team.me --detail --json

Request

PATCH /api/settings

Save input as payload.json. CLI and MCP action input includes path identifiers. The reviewed plan separates path/query fields from the HTTP body. Set RECRUIT_WORKSPACE_ID from granted resource discovery.

Inspect and test this action in the signed action console. Use its discovered schema and plan; a test response still requires the verification described below.

Input fields

FieldRequiredTypeConstraints
privacyNoticeOptionalUnion{}
retentionDaysOptionalinteger{"minimum":30,"maximum":3650}
autoAcknowledgeOptionalboolean{}

Exact input schema:

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "privacyNotice": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 10000
        },
        {
          "type": "null"
        }
      ]
    },
    "retentionDays": {
      "type": "integer",
      "minimum": 30,
      "maximum": 3650
    },
    "autoAcknowledge": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}

Effects

  • Updates the named workspace settings.

Interpret the response

Call settings.get and confirm the changed fields.

Settings are scoped to the verified Recruit workspace. The response contains configuration values, not a workspace identifier.

Exact success schema:

{
  "type": "object",
  "required": [
    "settings"
  ],
  "properties": {
    "settings": {
      "type": "object",
      "properties": {
        "privacyNotice": {
          "type": [
            "string",
            "null"
          ]
        },
        "retentionDays": {
          "type": "integer"
        },
        "autoAcknowledge": {
          "type": "boolean"
        },
        "updatedAt": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}

Worked examples

Actual dispatcher and migration-created SQLite or Worker handlers; Auth/workspace identity, object storage, mail and Notify dependencies are simulated. These synthetic fixtures establish no live authorization or delivery. A synthetic fixture identifier grants no access. Validate and inspect the planned request before executing. Commands with --confirm or MCP confirm:true assume the intended effect or data export has already been authorized.

Successful request

Actual dispatcher and migration-created SQLite; verified Auth/workspace context, object storage, mail and Notify dependencies are simulated. No live delivery or credential authorization is established. This complete response is a local fixture, not a deployed or delivered result.

Input · payload.json:

{
  "retentionDays": 180,
  "autoAcknowledge": true
}

CLI:

topolo actions validate app_topolo_recruit.settings.update --data @payload.json --json
topolo actions plan app_topolo_recruit.settings.update --resource-type workspace --resource-id "$RECRUIT_WORKSPACE_ID" --data @payload.json --json
topolo actions call app_topolo_recruit.settings.update --resource-type workspace --resource-id "$RECRUIT_WORKSPACE_ID" --data @payload.json --confirm --json

MCP tool and arguments:

{
  "tool": "topolo_call_action",
  "arguments": {
    "actionId": "app_topolo_recruit.settings.update",
    "input": {
      "retentionDays": 180,
      "autoAcknowledge": true
    },
    "resourceType": "workspace",
    "resourceId": "<identifier returned by resource discovery>",
    "confirm": true
  }
}

Captured local response · HTTP 200:

{
  "settings": {
    "privacyNotice": null,
    "retentionDays": 180,
    "autoAcknowledge": true,
    "updatedAt": "2026-10-05T09:00:00.000Z"
  }
}

HTTP 200. Call settings.get and confirm the changed fields.

Another supported request

Actual dispatcher and migration-created SQLite; verified Auth/workspace context, object storage, mail and Notify dependencies are simulated. No live delivery or credential authorization is established. This complete response is a local fixture, not a deployed or delivered result.

Input · payload.json:

{
  "privacyNotice": "Our own notice."
}

CLI:

topolo actions validate app_topolo_recruit.settings.update --data @payload.json --json
topolo actions plan app_topolo_recruit.settings.update --resource-type workspace --resource-id "$RECRUIT_WORKSPACE_ID" --data @payload.json --json
topolo actions call app_topolo_recruit.settings.update --resource-type workspace --resource-id "$RECRUIT_WORKSPACE_ID" --data @payload.json --confirm --json

MCP tool and arguments:

{
  "tool": "topolo_call_action",
  "arguments": {
    "actionId": "app_topolo_recruit.settings.update",
    "input": {
      "privacyNotice": "Our own notice."
    },
    "resourceType": "workspace",
    "resourceId": "<identifier returned by resource discovery>",
    "confirm": true
  }
}

Captured local response · HTTP 200:

{
  "settings": {
    "privacyNotice": "Our own notice.",
    "retentionDays": 365,
    "autoAcknowledge": true,
    "updatedAt": "2026-10-05T09:00:00.000Z"
  }
}

HTTP 200. Call settings.get and confirm the changed fields.

Refused request · hiring_team_role_required

Actual dispatcher and migration-created SQLite; verified Auth/workspace context, object storage, mail and Notify dependencies are simulated. No live delivery or credential authorization is established. This is a refused request; diagnose it before retrying.

Input · payload.json:

{
  "retentionDays": 180,
  "autoAcknowledge": true
}

CLI:

topolo actions validate app_topolo_recruit.settings.update --data @payload.json --json
topolo actions plan app_topolo_recruit.settings.update --resource-type workspace --resource-id "$RECRUIT_WORKSPACE_ID" --data @payload.json --json

Captured local response · HTTP 403:

{
  "error": {
    "code": "hiring_team_role_required",
    "message": "Your hiring-team role in this workspace does not allow this action.",
    "details": {
      "teamRole": "hiring_manager",
      "allowedRoles": [
        "recruiter"
      ]
    }
  }
}

HTTP 403. Preserve the exact response code and details. Do not claim success.

Refused request · invalid_input

Actual dispatcher and migration-created SQLite; verified Auth/workspace context, object storage, mail and Notify dependencies are simulated. No live delivery or credential authorization is established. This is a refused request; diagnose it before retrying.

Input · payload.json:

{
  "retentionDays": 5
}

CLI:

topolo actions validate app_topolo_recruit.settings.update --data @payload.json --json
topolo actions plan app_topolo_recruit.settings.update --resource-type workspace --resource-id "$RECRUIT_WORKSPACE_ID" --data @payload.json --json

Captured local response · HTTP 422:

{
  "error": {
    "code": "invalid_input",
    "message": "The input does not match the action schema.",
    "details": [
      {
        "origin": "number",
        "code": "too_small",
        "minimum": 30,
        "inclusive": true,
        "path": [
          "retentionDays"
        ],
        "message": "Too small: expected number to be >=30"
      }
    ]
  }
}

HTTP 422. Preserve the exact response code and details. Do not claim success.

Verify the result

  • Call settings.get and confirm the changed fields.

Errors and recovery

  • organization_context_required (HTTP 403): Select the organization authorized by the credential; do not send an organization id in the action input.
  • permission_denied (HTTP 403): Grant the credential the required Recruit workspace permission.
  • hiring_team_role_required (HTTP 403): Ask a recruiter to give the caller a hiring-team role that allows this action (team.members.set); error.details lists the allowed roles.
  • workspace_required (HTTP 409): Create a Recruit workspace, or pass the workspace resource context.
  • invalid_input (HTTP 422): Correct the fields named in error.details using inputSchema, then retry.
  • invalid_json (HTTP 400): Send a valid JSON object. The request is rejected before workspace resolution or record creation.

Authentication or gateway failures may occur before the Recruit handler. Preserve the exact discovered service error, request id and credential context. The local fixtures do not establish live credential authorization.

Recovery boundary

Read settings.get first, then send the previous values back through settings.update.

  • Update Recruit settings: Change the privacy notice shown on application forms (null restores the default notice), the retention period in days (30 to 3650; applies to applications from now on) or automatic acknowledgement emails. Only the fields sent change. Recruiters only.

Evidence

Actual dispatcher and migration-created SQLite or Worker handlers; Auth/workspace identity, object storage, mail and Notify dependencies are simulated. These synthetic fixtures establish no live authorization or delivery. Test capture provenance is retained with each fixture. API, database and integration outcomes require separate verification in the target environment.