Skip to main content
POST
/
newsletter
/
subscribe
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "email": "[email protected]",
  "active": true,
  "subscribedAt": "2025-03-15T10:30:00Z",
  "unsubscribedAt": null,
  "createdAt": "2025-03-15T10:30:00Z",
  "updatedAt": "2025-03-15T10:30:00Z"
}

Body

application/json
email
string
required

Email address to subscribe to the newsletter

Response

Successfully subscribed to newsletter

id
string
required

Unique identifier for the newsletter subscription

Example:

"123e4567-e89b-12d3-a456-426614174000"

email
string
required

Email address of the subscriber

active
boolean
required

Flag indicating if the subscription is active

Example:

true

subscribedAt
string<date-time>
required

Date and time when the user subscribed

Example:

"2025-03-15T10:30:00Z"

unsubscribedAt
string<date-time> | null
required

Date and time when the user unsubscribed, if applicable

Example:

null

createdAt
string<date-time>
required

Date and time when the subscription record was created

Example:

"2025-03-15T10:30:00Z"

updatedAt
string<date-time>
required

Date and time when the subscription record was last updated

Example:

"2025-03-15T10:30:00Z"