A visitor signs up. Form-encoded (email, name, page, optional lang) so browsers skip the preflight; JSON is also accepted. Messages and the confirmation email follow the form's language, else lang, else Accept-Language. With double opt-in a confirmation email is sent and the person joins the list after confirming.

post/v1/forms/{publicId}/subscribe

Request

  • Base URL: https://api.bangermail.com
  • URL: https://api.bangermail.com/v1/forms/{publicId}/subscribe
  • Auth: none required

Request body

emailstring email required
namestring
pagestring
langstring
localestring
websitestring

Honeypot; leave empty.

Response

Signup accepted.

oktrue required
status'pending_confirmation' | 'subscribed' | 'already_subscribed' required
redirect_urlstring

Changes

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