Everyday | API DocumentationEveryday | API Documentation
  • Pricing
  • Documentation
  • API Reference
Getting Started
    Getting StartedSensitive-action approvalsChange notes
Useful Links
    Everyday HomeContact Us
powered by Zuplo
Getting Started

Sensitive-action approvals

Sensitive-action approvals

When an action's approval policy is enabled, profile deletion and both series deletion modes require review for OAuth, API-key, and MCP callers. Normal Everyday sign-ins keep their existing permissions. The requester or another authorized organization member approves in Everyday using their usual session.

Call the existing deletion operation normally. HTTP 202 means no deletion has occurred. MCP returns the same body:

Code
{ "status": "approval_required", "action": "profile.delete", "target_name": "Washington Events", "parameters": {}, "preview": { "grace_period_days": 30, "restore": "support_only" }, "operation_id": "op_00000000-0000-4000-8000-000000000001", "approval_url": "https://every.day/approve/op_00000000-0000-4000-8000-000000000001", "expires_at": "2026-11-06T18:15:00Z", "display": { "title": "Delete profile “Washington Events”?", "details": ["The profile becomes unavailable immediately; permanent removal is scheduled after 30 days. Recovery requires support."], "confirm_label": "Approve deletion", "completed_message": "Profile deletion scheduled." } }

Render the server-provided display title and details as plain text, show the returned link and wait. The backend owns action wording; clients should not duplicate it. The link identifies a request and grants no authority. OAuth/API-key credentials cannot approve it, including through a direct request to the decision endpoint. Do not add approved, force, or an approver field to the original mutation.

Read GET /v1/operations/{operation_id} or call MCP getOperationStatus with pathParams.operation_id. Status reads require requester or approver authority.

StatusMeaning
pendingAwaiting the user's decision.
completedUse the recorded result; do not repeat the deletion.
deniedStop.
expiredRequest fresh approval only if the user wants to continue.
failedNo partial deletion committed. Inspect the sanitized error code.

Requests expire after 15 minutes. Identical pending requests reuse an operation; conflicting parameters return operation_conflict. No idempotency key is needed. Honor Retry-After when supplied; otherwise poll no more than every five seconds. Stop after a terminal result. Approval executes independently of the agent.

Profile completion starts the existing 30-day deletion lifecycle; recovery requires support. Series completion means its database deletion committed; external-calendar cleanup can finish later. A later profile DELETE returns 404 once deleted; use operation status to determine an approval request's outcome.

Individual-event deletion and edits remain outside this gate. Browser automation using a first-party session is outside its guarantee. URL elicitation and push delivery are optional future layers; the review link is the baseline.

Last modified on December 5, 2026
Getting StartedChange notes
JSON