Maildesk API
  1. Subscribers
Maildesk API
  • 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
  1. Subscribers

Get all subscribers

GET
/api/subscribers
Retrieve all subscribers for the authenticated user
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.maildesk.io/api/subscribers'
Response Response Example
{
    "subscribers": [
        {
            "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
            "email": "john.doe@example.com",
            "firstName": "John",
            "lastName": "Doe",
            "status": "CONFIRMED",
            "tags": [
                "Newsletter",
                "Premium"
            ],
            "createdAt": "2024-03-20T10:00:00.000Z"
        }
    ],
    "total": 100,
    "page": 1,
    "limit": 10
}

Request

None

Responses

🟢200OK
application/json
Subscribers retrieved successfully
Body
subscribers
array[object (ContactResponseDto) {7}] 
required
Array of subscribers
id
string 
required
Unique identifier of the contact
Example:
01ARZ3NDEKTSV4RRFFQ69G5FAV
email
string 
required
Email address of the contact
Example:
john.doe@example.com
firstName
string 
required
First name of the contact
Example:
John
lastName
string 
required
Last name of the contact
Example:
Doe
status
enum<string> 
required
Subscription status of the contact
Allowed values:
CONFIRMEDUNSUBSCRIBEDUNCONFIRMEDPERMANENT_BOUNCE
Example:
CONFIRMED
tags
array[string]
required
Array of tag names associated with the contact
Example:
["Newsletter","Premium"]
createdAt
string 
required
Creation timestamp
Example:
2024-03-20T10:00:00.000Z
total
number 
required
Total number of subscribers
Example:
100
page
number 
required
Current page number
Example:
1
limit
number 
required
Number of items per page
Example:
10
🟠401Unauthorized
Modified at 2025-06-28 19:47:25
Previous
Delete a subscriber
Next
Create a new subscriber
Built with