---
title: "Consent resource"
description: "Attest a consent grant for an authorized notification category."
image: "https://help.tidymessages.com/og.svg"
---

> Documentation Index
> Fetch the complete documentation index at: https://help.tidymessages.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Consent resource

Attest a consent grant for an authorized notification category.

## How it works

Attest a consent grant for an authorized notification category. TidyMessages keeps channel-specific behavior explicit while providing stable identifiers, safe retries, and auditable lifecycle events.

## Set it up

1. Authenticate with a project key scoped to the intended environment and resource.
2. Validate identifiers, fields, channel capability, and consent before the request.
3. Persist resource IDs and reconcile asynchronous state from signed events.

## What to expect

- The operation is traceable by stable request and resource identifiers.
- Acceptance, provider delivery, and customer interaction remain separate states.
- Retries and reordered events do not duplicate the customer action.
> [!TIP] Keep API keys, signing secrets, customer addresses, and message bodies out of source and logs.

Source: https://help.tidymessages.com/api-apple-messages/consent-resource/index.mdx
