1. Subscribers
Maildesk API
  • Maildesk Webhook
  • API Authentication
  • Subscribers
    • Get a subscriber by ID
      GET
    • Update a subscriber
      PUT
    • Delete a subscriber
      DELETE
    • Get all subscribers
      GET
    • Create a new subscriber
      POST
    • Create up to 100 subscribers in a single request
      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
    • BulkCreateContactAPIRequest
    • CreateTagApiRequest
    • BulkContactApiResponse
    • TagApiResponse
    • UpdateTagApiRequest
    • ContactResponseDto
    • TagResponse
    • BulkContactFailure
  1. Subscribers

Create up to 100 subscribers in a single request

POST
/api/subscribers/bulk
Accepts an array of subscribers (max 100). Returns per-item success/failure so a single bad row does not fail the rest of the batch.

Request

Authorization
Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Bulk create completed; failed contains per-item rejections (empty if all succeeded)
Body

🟠400
🟠401
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.maildesk.io/api/subscribers/bulk' \
--header 'Content-Type: application/json' \
--data-raw '{
    "subscribers": [
        {
            "email": "john.doe@example.com",
            "firstName": "John",
            "lastName": "Doe",
            "isConfirmed": "true | false",
            "tags": [
                "tag1",
                "tag2"
            ]
        }
    ]
}'
Response Response Example
{
    "failed": [
        {
            "index": 3,
            "email": "duplicate@example.com",
            "reason": "DUPLICATE_IN_REQUEST"
        }
    ]
}
Modified at 2026-04-21 06:01:25
Previous
Create a new subscriber
Next
Get all tags
Built with