Skip to content

Contact.unsubscribe

POST /{namespace}/contacts/{contact}/unsubscribe

Unsubscribe stops commercial Messages to a Contact in one click, for one topic or all, honored at once.

Mode
do
Event
Contact.unsubscribed

Inputs

InputTypeRequiredDescription
contactContactrequiredThe Contact.
topicstringOne topic; omitted, every commercial topic.

Outputs

OutputTypeRequiredDescription
contactContactrequiredThe Contact, unsubscribed.

Effects

  • Emits Contact.unsubscribed.
  • Performed by the Marketing Lead.
  • Two-way: it runs at once, in the try, send and do modes.
  • Writes a Suppression when no topic is named.
  • Never asks for sign-in or confirmation, and never waits.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.Contact.unsubscribe

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.