---
title: "Resubscribe (requires consent evidence)"
method: POST
path: "/preferences/resubscribe"
tags: ["governance"]
---

# Resubscribe (requires consent evidence)

`POST /preferences/resubscribe`

## Request

- Base URL: `https://api.mailly.site` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mailly.site/preferences/resubscribe`
- Auth: HTTP bearer

Restoring a workspace-level subscription requires a source and consent evidence (consentAt + consentReference).

## Request body

- object
  - `email` string: Recipient email
  - `scope` 'workspace' | 'sender' | 'topic': V1 supports only workspace
  - `source` string: Resubscribe source, up to 100 characters
  - `consentAt` union: Consent time (ISO or epoch seconds)
    - string
    - number
  - `consentReference` string: Consent evidence reference, up to 200 characters

## Response `200`

Resubscribed

- object
  - `success` boolean, required

## Other responses

- `400`: Invalid parameters
- `401`: Missing or invalid API key
- `404`: Resubscribing is not allowed in the current state
- `409`: Conflict

---

[API](https://skmtc.dev/mailly/apis/mailly-api.md) · [All operations](https://skmtc.dev/mailly/apis/mailly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mailly/apis/mailly-api/revisions/1ceb29637301?raw)
