curl --location --request POST 'https://api.maildesk.io/api/subscribers' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"tags": [
"tag1",
"tag2"
]
}'
{
"subscriber": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"status": "CONFIRMED",
"tags": [
"Newsletter",
"Premium"
],
"createdAt": "2024-03-20T10:00:00.000Z"
}
}