Maildesk API
  1. Subscribers
Maildesk API
  • Maildesk Webhook
  • Subscribers
    • Get a subscriber by ID
      GET
    • Update a subscriber
      PUT
    • Delete a subscriber
      DELETE
    • Get all subscribers
      GET
    • Create a new subscriber
      POST
  • Tags
    • Get all tags
      GET
    • Create a new tag
      POST
    • Get a tag by ID
      GET
    • Update a tag
      PUT
    • Delete a tag
      DELETE
  • Schemas
    • Schemas
      • ContactApiResponse
      • UpdateContactAPIRequest
      • PaginatedApiResponse
      • CreateContactAPIRequest
      • PaginatedTagsApiResponse
      • CreateTagApiRequest
      • TagApiResponse
      • UpdateTagApiRequest
      • ContactResponseDto
      • TagResponse
  1. Subscribers

Update a subscriber

PUT
/api/subscribers/{id}
Update an existing subscriber with the provided details

Request

Path Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Subscriber updated successfully
Body

🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.maildesk.io/api/subscribers/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "firstName": "John",
    "lastName": "Doe",
    "tags": [
        "tag1",
        "tag2"
    ]
}'
Response Response Example
{
    "subscriber": {
        "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
        "email": "john.doe@example.com",
        "firstName": "John",
        "lastName": "Doe",
        "status": "CONFIRMED",
        "tags": [
            "Newsletter",
            "Premium"
        ],
        "createdAt": "2024-03-20T10:00:00.000Z"
    }
}
Modified at 2025-06-28 19:47:25
Previous
Get a subscriber by ID
Next
Delete a subscriber
Built with