Sendlix API (v1)
Download OpenAPI specification:Download
The Sendlix API enables sending emails and managing email groups. This API supports various formats and provides functions for personalized email campaigns. This is a gRPC transcoded API that provides a REST interface over the underlying gRPC services.
Send an email
Sends a formatted email to one or more recipients with optional attachments and substitutions.
Authorizations:
Request Body schema: application/jsonrequired
Email data for sending
required | Array of objects (EmailData) |
Array of objects (EmailData) | |
Array of objects (EmailData) | |
required | object (EmailData) |
object (EmailData) | |
subject required | string |
object (TextContent) | |
object (AdditionalInfos) |
Responses
Request samples
- Payload
{- "to": [
- {
- "email": "string",
- "name": "string"
}
], - "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "from": {
- "email": "string",
- "name": "string"
}, - "replyTo": {
- "email": "string",
- "name": "string"
}, - "subject": "string",
- "textContent": {
- "html": "string",
- "text": "string",
- "tracking": true
}, - "additionalInfos": {
- "attachments": [
- {
- "contentUrl": "string",
- "type": "string",
- "filename": "string"
}
], - "category": "string",
- "sendAt": "2019-08-24T14:15:22Z"
}
}
Response samples
- 200
- default
{- "message": [
- "string"
], - "emailsLeft": 0
}
Send an email in EML format
Sends a pre-formatted email in EML format with optional additional information.
Authorizations:
Request Body schema: application/jsonrequired
EML data for sending in Base64 format
mail required | string <byte> Email in Base64 format |
object (AdditionalInfos) |
Responses
Request samples
- Payload
{- "mail": "string",
- "additionalInfos": {
- "attachments": [
- {
- "contentUrl": "string",
- "type": "string",
- "filename": "string"
}
], - "category": "string",
- "sendAt": "2019-08-24T14:15:22Z"
}
}
Response samples
- 200
- default
{- "message": [
- "string"
], - "emailsLeft": 0
}
Send an email to a group
Sends an email to all members of a defined group with the specified group ID.
Authorizations:
path Parameters
groupId required | string Target group ID for the email sending |
Request Body schema: application/jsonrequired
Group email data for sending
required | object (TextContent) |
subject required | string |
required | object (EmailData) |
category | string |
Responses
Request samples
- Payload
{- "textContent": {
- "html": "string",
- "text": "string",
- "tracking": true
}, - "subject": "string",
- "from": {
- "email": "string",
- "name": "string"
}, - "category": "string"
}
Response samples
- 200
- default
{- "message": [
- "string"
], - "emailsLeft": 0
}
Add email addresses to a group
Adds one or more email addresses with optional substitution values to an existing group.
Authorizations:
path Parameters
groupId required | string Target group ID |
Request Body schema: application/json
Array of objects (EmailData) | |
object |
Request samples
- Payload
{- "emails": [
- {
- "email": "string",
- "name": "string"
}
], - "substitutions": {
- "property1": "string",
- "property2": "string"
}
}
Check if an email address exists in a group
Verifies if a specific email address is a member of a specified group.
Authorizations:
path Parameters
groupId required | string Group ID to check |
email required | string Email address to check |
Responses
Response samples
- 200
- default
{- "exists": true
}