Newsletter

Subscribe

Subscribe an email to the newsletter.

Behaviour:

  • 200 on success.
  • 200 with already_subscribed=true on duplicate (no enumeration leak).
  • 400 on a malformed request (Pydantic handles this).
  • 503 if the database is unavailable.
post/v1/newsletter/subscribe

Request

  • Base URL: https://api.call2me.app
  • URL: https://api.call2me.app/v1/newsletter/subscribe
  • Auth: HTTP bearer

Request body

emailstring email required
sourcestring

Response

Successful Response

okboolean required
already_subscribedboolean nullable

Changes

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