email-subscriptions

Subscribe

Anonymous newsletter subscribe.

Behaviour:

  • 200 ok={'subscribed','already_subscribed'} — happy path
  • 400 — consent_marketing was false (we require an affirmative tick)
  • 409 — email previously unsubscribed from this scope; they must manage preferences from their unsubscribe link
  • 500 — DB error
post/api/email-subscriptions

Request

  • Base URL: https://api.activitia.net (the document declares no server; this is the origin it was published from)
  • URL: https://api.activitia.net/api/email-subscriptions
  • Auth: none declared

Headers

authorizationstring

Request body

emailstring email required
scopestring
consent_marketingboolean
source_pagestring nullable
source_ref_typestring nullable
source_ref_idstring uuid nullable
localestring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.