Record Hive contact consent
set_contact_consentIdempotent
Record that one person opted in, opted out or was suppressed for one purpose. Hive refuses to send where consent is not live, so this is what decides whether that person can be messaged again.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why, in the words a teammate would use. | |
| status | Yes | What was recorded. | |
| purpose | Yes | What the consent covers. | |
| contactId | Yes | The Hive contact identity. | |
| occurredAt | No | When it happened, as an ISO date. Defaults to now. | |
| idempotencyKey | Yes | A caller-generated unique key (8-200 characters). Reuse it only when retrying this exact write. |