Overview
Create a new subscriber in your MailGreet account. The subscriber will be added with an active status by default and can optionally be assigned to one or more groups.
This endpoint respects your plan’s subscriber limits. If you’ve reached your limit, a 403 Forbidden error will be returned.
Authentication
Bearer token. Format: Bearer YOUR_API_KEY
Request Body
A valid email address for the subscriber. Must be unique within your account.
The subscriber’s first name.
The subscriber’s last name.
The subscriber’s phone number. Recommended format: +1234567890
An array of group UUIDs to add the subscriber to. Example: ["550e8400-e29b-41d4-a716-446655440000"]
An object containing custom field key-value pairs. Keys must match your defined custom fields. Example: {"company": "Acme Inc", "role": "Developer"}
Response
Indicates if the subscriber was created successfully
Unique identifier (UUID) for the subscriber
The subscriber’s email address
The subscriber’s first name
The subscriber’s last name
The subscriber’s phone number
Subscriber status: active, unsubscribed, bounced, or complained
ISO 8601 timestamp of when the subscriber was created
curl -X POST "https://api.mailgreet.com/api/v1/external/subscribers" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "john@example.com",
"first_name": "John",
"last_name": "Doe",
"phone": "+1234567890",
"group_ids": ["550e8400-e29b-41d4-a716-446655440000"],
"custom_fields": {
"company": "Acme Inc",
"role": "Marketing Manager"
}
}'
201 - Created
400 - Validation Error
403 - Limit Exceeded
409 - Duplicate Email
{
"success" : true ,
"data" : {
"id" : "660e8400-e29b-41d4-a716-446655440001" ,
"email" : "john@example.com" ,
"first_name" : "John" ,
"last_name" : "Doe" ,
"phone" : "+1234567890" ,
"status" : "active" ,
"created_at" : "2026-01-18T12:00:00Z"
}
}