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 a subscriber by ID

GET
/api/subscribers/{id}
Retrieve a subscriber by their unique ID
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.maildesk.io/api/subscribers/'
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"
    }
}

Request

Path Params
id
string 
required

Responses

🟢200OK
application/json
Subscriber retrieved successfully
Body
subscriber
object 
required
Contact information
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
🟠401Unauthorized
Modified at 2025-06-28 19:47:25
Next
Update a subscriber
Built with