sixxmail API documentation version v1
http://localhost:8080
/auth
Sends user credentials and get an auth token as response in the headers.
post /auth/login
Sends user credentials and get an auth token as response in the headers.
Body
Media type: application/x-www-form-urlencoded
Type: object
Properties- username: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- password: required (string)
Performes the logout of the current logged in user.
post /auth/logout
Performes the logout of the current logged in user.
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Successfully logged out.
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
Obtains a new auth token
get /auth/refresh
Obtains a new auth token
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Successfully refreshed token.
Body
Media type: application/json
Type: object
Properties- access_token: required (string)
- expires_in: required (integer)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
/users
Get a list of users.
Create a new user.
get /users
Get a list of users.
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- q: (string)
the query string. returned datasets have to contain this string.
- page: (integer - default: 0)
the requested page
- size: (integer - default: 20)
size of a page
- sort: (string)
sort parameter.
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- pageMetadata: required (object)
meta information for paged resources
- size: required (integer)
- totalElements: required (integer)
- totalPages: required (integer)
- number: required (integer)
- content: required (array of user.UserInfo)
Items: UserInfo
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- email: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- firstname: required (string)
- lastname: required (string)
- username: required (string)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /users
Create a new user.
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- email: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- firstname: required (string)
- lastname: required (string)
- username: required (string)
HTTP status code 201
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- email: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- firstname: required (string)
- lastname: required (string)
- username: required (string)
- roles: required (array of role.RoleInfo)
Items: RoleInfo
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
- authorities: required (array of role.Permission)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
Returns the specific user
Update an user.
Delete an user
get /users/{id}
Returns the specific user
URI Parameters
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
The UUID of an user.
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- email: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- firstname: required (string)
- lastname: required (string)
- username: required (string)
- roles: required (array of role.RoleInfo)
Items: RoleInfo
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
- authorities: required (array of role.Permission)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
patch /users/{id}
Update an user.
URI Parameters
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
The UUID of an user.
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- email: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- firstname: required (string)
- lastname: required (string)
- username: required (string)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- email: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- firstname: required (string)
- lastname: required (string)
- username: required (string)
- roles: required (array of role.RoleInfo)
Items: RoleInfo
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
- authorities: required (array of role.Permission)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
delete /users/{id}
Delete an user
URI Parameters
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
The UUID of an user.
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Successfully deleted.
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
assign new role to user
assign new role to user
post /users/{id}/roles/{id}
assign new role to user
URI Parameters
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
The UUID of an user.
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- permissions: required (array of role.Permission)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
delete /users/{id}/roles/{id}
assign new role to user
URI Parameters
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
The UUID of an user.
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- permissions: required (array of role.Permission)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
Returns the own user
Update the own user.
get /users/me
Returns the own user
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- email: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- firstname: required (string)
- lastname: required (string)
- username: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
patch /users/me
Update the own user.
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- email: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- firstname: required (string)
- lastname: required (string)
- username: required (string)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- email: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- firstname: required (string)
- lastname: required (string)
- username: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
changes the password
patch /users/me/change-password
changes the password
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- oldPassword: required (string)
- newPassword: required (string)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- email: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- firstname: required (string)
- lastname: required (string)
- username: required (string)
HTTP status code 400
bad request, old password did not match
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
/roles
Get a list of roles
Create a new role
get /roles
Get a list of roles
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- pageMetadata: required (object)
meta information for paged resources
- size: required (integer)
- totalElements: required (integer)
- totalPages: required (integer)
- number: required (integer)
- content: required (array of role.RoleInfo)
Items: RoleInfo
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /roles
Create a new role
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: required (string)
- permissions: required (array of role.Permission)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- permissions: required (array of role.Permission)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
Get a role and its permissions
Update a role and its permissions
Delete a role
get /roles/{id}
Get a role and its permissions
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- permissions: required (array of role.Permission)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
patch /roles/{id}
Update a role and its permissions
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: required (string)
- permissions: required (array of role.Permission)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- permissions: required (array of role.Permission)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
delete /roles/{id}
Delete a role
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
successfully deleted
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
/lists
fetch all visible and not deleted lists.
Requires a valid JWT (JSON web token), which is granted by the server on login.
get /lists
fetch all visible and not deleted lists.
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- q: (string)
the query string. returned datasets have to contain this string.
- page: (integer - default: 0)
the requested page
- size: (integer - default: 20)
size of a page
- sort: (string)
sort parameter.
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- pageMetadata: required (object)
meta information for paged resources
- size: required (integer)
- totalElements: required (integer)
- totalPages: required (integer)
- number: required (integer)
- content: required (array of list.ListInfo)
Items: ListInfo
- id: required (integer)
- name: required (string)
- description: required (string)
- volume: required (integer)
- created: required (datetime)
- updated: required (datetime)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /lists
Requires a valid JWT (JSON web token), which is granted by the server on login.
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: required (string)
- description: required (string)
- senderName: (string)
- senderMail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- replyToMail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- replyToName: (string)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- description: required (string)
- volume: required (integer)
- created: required (datetime)
- updated: required (datetime)
HTTP status code 400
invalid input
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
fetch a list, if visible and not deleted.
updates a list
marks a list as deleted and restricts access to it. The list will be eventually deleted.
get /lists/{id}
fetch a list, if visible and not deleted.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- description: required (string)
- volume: required (integer)
- created: required (datetime)
- updated: required (datetime)
- senderMail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- answerMail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- envelopeMail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- mta: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- mtaPriority: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- linkURL: required (string)
Data type for resolveable URLs.
- senderName: required (string)
- answerName: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
list does exist, but user has no permission to see it.
HTTP status code 404
list does not exist.
HTTP status code 410
list is deleted.
patch /lists/{id}
updates a list
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: required (string)
- description: required (string)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- description: required (string)
- volume: required (integer)
- created: required (datetime)
- updated: required (datetime)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
list does exist, but user has no permission to see it.
HTTP status code 404
list does not exist.
HTTP status code 410
list is deleted.
fetch a list of target groups / filter
get /lists/{id}/filters
fetch a list of target groups / filter
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- q: (string)
the query string. returned datasets have to contain this string.
- page: (integer - default: 0)
the requested page
- size: (integer - default: 20)
size of a page
- sort: (string)
sort parameter.
HTTP status code 200
Body
Media type: application/json
Type: array of object
Items: SelectionInfo
- id: required (integer)
- name: required (string)
- listId: (integer)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
get name / mail - presets.
add a new name / mail - preset.
get /lists/{id}/address-presets/replyTo
get name / mail - presets.
URI Parameters
- id: required (string)
HTTP status code 200
Body
Media type: application/json
Type: array of object
Items: AddressPreset
- id: required (integer)
- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
post /lists/{id}/address-presets/replyTo
add a new name / mail - preset.
URI Parameters
- id: required (string)
Body
Media type: application/json
Type: object
Properties- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
get a name / mail - preset
mod a name / mail - preset.
mod a name / mail - preset.
get /lists/{id}/address-presets/replyTo/{id}
get a name / mail - preset
URI Parameters
- id: required (string)
- id: required (string)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
HTTP status code 404
not found.
patch /lists/{id}/address-presets/replyTo/{id}
mod a name / mail - preset.
URI Parameters
- id: required (string)
- id: required (string)
Body
Media type: application/json
Type: object
Properties- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
HTTP status code 404
not found.
HTTP status code 422
manually removed default checkbox.
get name / mail - presets.
add a new name / mail - preset.
get /lists/{id}/address-presets/sender
get name / mail - presets.
URI Parameters
- id: required (string)
HTTP status code 200
Body
Media type: application/json
Type: array of object
Items: AddressPreset
- id: required (integer)
- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
post /lists/{id}/address-presets/sender
add a new name / mail - preset.
URI Parameters
- id: required (string)
Body
Media type: application/json
Type: object
Properties- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
get a name / mail - preset
mod a name / mail - preset.
mod a name / mail - preset.
get /lists/{id}/address-presets/sender/{id}
get a name / mail - preset
URI Parameters
- id: required (string)
- id: required (string)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
HTTP status code 404
not found.
patch /lists/{id}/address-presets/sender/{id}
mod a name / mail - preset.
URI Parameters
- id: required (string)
- id: required (string)
Body
Media type: application/json
Type: object
Properties- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
HTTP status code 404
not found.
HTTP status code 422
manually removed default checkbox.
fetch a list of mailings.
create a mailing in this list. does provide shortcuts to create mailing parts.
get /lists/{id}/mailings
fetch a list of mailings.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- page: (integer - default: 0)
the requested page
- size: (integer - default: 20)
size of a page
- sort: (string)
sort parameter.
- q: (string)
the query string. returned datasets have to contain this string.
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- pageMetadata: required (object)
meta information for paged resources
- size: required (integer)
- totalElements: required (integer)
- totalPages: required (integer)
- number: required (integer)
- content: required (array of mailing.MailingInfo)
Items: MailingInfo
- id: required (integer)
- listId: required (integer)
- name: required (string)
- format: required (one of TEXT, HTML, MULTI_PART)
may be removed in the future.
- type: required (one of ORDINARY, SPLIT_MASTER, SPLIT_SLAVE)
type of the mailing. currently, only ordinary mails supported.
- status: required (one of DRAFT, LOCK, PLAN, SEND)
current status of the mailing. if not draft, then certain properties are locked and cannot be adjusted anymore.
- subject: required (string)
- recipients: (integer)
recipients of the mailing. only available if recipients were calculated already. otherwise, it is null.
- successfulRecipients: (integer)
successful delivery to recipients. this only refers to the sending process itself.
- created: required (datetime)
- updated: required (datetime)
- sending: required (datetime)
- project: required (integer)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
list not found
post /lists/{id}/mailings
create a mailing in this list. does provide shortcuts to create mailing parts.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: required (string)
- format: required (one of TEXT, HTML, MULTI_PART)
format of the mailing
- type: required (one of ORDINARY, SPLIT_MASTER, SPLIT_SLAVE)
type of the mailing. currently, only ordinary mails supported.
- subject: required (string)
- sender: (integer)
- replyTo: (integer)
- parts: (array of mailing.MailingPartCreateRequest)
Items: MailingPartCreateRequest
- type: required (one of TEXT, HTML, AMP)
type of the part. We support TEXT, HTML and AMP. AMP is a specific part type for dynamic mails (i.e. supported by gmail / gsuite)
- content: required (string)
- type: required (one of TEXT, HTML, AMP)
- project: (integer)
HTTP status code 201
mailing created
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- listId: required (integer)
- name: required (string)
- format: required (one of TEXT, HTML, MULTI_PART)
may be removed in the future.
- type: required (one of ORDINARY, SPLIT_MASTER, SPLIT_SLAVE)
type of the mailing. currently, only ordinary mails supported.
- status: required (one of DRAFT, LOCK, PLAN, SEND)
current status of the mailing. if not draft, then certain properties are locked and cannot be adjusted anymore.
- subject: required (string)
- recipients: (integer)
recipients of the mailing. only available if recipients were calculated already. otherwise, it is null.
- successfulRecipients: (integer)
successful delivery to recipients. this only refers to the sending process itself.
- created: required (datetime)
- updated: required (datetime)
- sending: required (datetime)
- project: required (integer)
- sender: (object)
registered address preset
- id: required (integer)
- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
- replyTo: (object)
registered address preset
- id: required (integer)
- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
- filter: required (array of integer)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
list not found
HTTP status code 424
address presets not found
get list of attributes
make attributes visible in list. hide every other attribute.
get /lists/{id}/attributes
get list of attributes
URI Parameters
- id: required (string)
HTTP status code 200
Body
Media type: application/json
Type: array of object
Items: ListAttribute
- attribute: required (object)
- id: required (integer)
- name: required (string)
- columnName: required (string - pattern: A-Za-z)
The internal representation. Is not changeable and can be defined at attribute creation. Is unique. Is used to access data in mailings or during selections. The server automatically generates a column name if null or empty.
Example:
Essen & Trinken gets automatically mapped to essenAndTrinken; - type: required (one of ID, MAIL, IP, GEO_STREET, GEO_STREET_NO, GEO_CITY, GEO_COUNTRY, GEO_ZIP, GEO_LAT, GEO_LONG, TEXT, BOOL, INTEGER, FLOAT, DATE, DATETIME, SUBSCRIPTION, UNSUBSCRIPTION)
The type of an attribute. Each attribute gets validated. MAIL only accepts valid e-mail addresses according to RFC 822. IP only accepts IPv4 or IPv6 addresses types with the prefix GEO_ are treated to determine the geographical coordinates. GEO_STREET is a text value. GEO_STREET_NO is a text value. It may be included in GEO_STREET. GEO_CITY is a text value GEO_COUNTRY is a text value GEO_ZIP is a text value GEO_LAT is a float value GEO_LONG is a float value TEXT is simple text. BOOL is either true or false. INTEGER accepts integer based values. The behaviour is guaranteed for a value between -2147483648 and 2147483647 FLOAT accepts decimal numbers and interprets it internally as double. DATE is a date without time. The proposed format is yyyy-MM-dd. Other values may be accepted. DATETIME is a date with time. The proposed format is yyyy-MM-dd HH:mm:ss, other values may be accepted. SUBSCRIPTION is a date time, which represents the subscription date. It cannot be modified or deleted. UNSUBSCRIPTION is a checkbox. If the user unsubscribed or gets unsubscribed, this checkbox is set.
- length: (integer)
- hidden: required (boolean)
- system: required (boolean)
- status: required (one of PENDING, SUCCESS)
- edit: required (boolean)
- subscription: required (integer)
refers to a list
- visible: required (boolean)
make attribute visible in list
remove attribute from list (does not delete its contents)
update current settings
patch /lists/{id}/settings
update current settings
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- envelopeMail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- mta: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- mtaPriority: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- linkURL: required (string)
Data type for resolveable URLs.
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- description: required (string)
- volume: required (integer)
- created: required (datetime)
- updated: required (datetime)
- senderMail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- answerMail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- envelopeMail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- mta: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- mtaPriority: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- linkURL: required (string)
Data type for resolveable URLs.
- senderName: required (string)
- answerName: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
list does not exist.
HTTP status code 410
list is deleted.
get access limits
update current settings
get /lists/{id}/access
get access limits
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- listId: required (integer)
- userAccess: required (array of list.ListUserAccess)
Items: ListUserAccess
- id: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
optional, because implicit granting possible (role access)
- user: required (object)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- email: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- firstname: required (string)
- lastname: required (string)
- username: required (string)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
- implicit: required (boolean)
- id: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
- roleAccess: required (array of list.ListRoleAccess)
Items: ListRoleAccess
- id: required (integer)
- user: required (object)
role representation without permissions
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
list does not exist.
HTTP status code 410
list is deleted.
post /lists/{id}/access
update current settings
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- type: required (one of USER, ROLE)
available permissions
- user: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- role: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- listId: required (integer)
- userAccess: required (array of list.ListUserAccess)
Items: ListUserAccess
- id: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
optional, because implicit granting possible (role access)
- user: required (object)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- email: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- firstname: required (string)
- lastname: required (string)
- username: required (string)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
- implicit: required (boolean)
- id: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
- roleAccess: required (array of list.ListRoleAccess)
Items: ListRoleAccess
- id: required (integer)
- user: required (object)
role representation without permissions
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
list does not exist.
HTTP status code 410
list is deleted.
remove access right
delete /lists/{id}/access/{id}
remove access right
URI Parameters
- id: required (string)
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
removed authority of specific user / role to see this list.
Body
Media type: application/json
Type: object
Properties- listId: required (integer)
- userAccess: required (array of list.ListUserAccess)
Items: ListUserAccess
- id: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
optional, because implicit granting possible (role access)
- user: required (object)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- email: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- firstname: required (string)
- lastname: required (string)
- username: required (string)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
- implicit: required (boolean)
- id: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
- roleAccess: required (array of list.ListRoleAccess)
Items: ListRoleAccess
- id: required (integer)
- user: required (object)
role representation without permissions
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
HTTP status code 304
cannot delete non-existant entity.
Body
Media type: application/json
Type: object
Properties- listId: required (integer)
- userAccess: required (array of list.ListUserAccess)
Items: ListUserAccess
- id: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
optional, because implicit granting possible (role access)
- user: required (object)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- email: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- firstname: required (string)
- lastname: required (string)
- username: required (string)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
- implicit: required (boolean)
- id: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
- roleAccess: required (array of list.ListRoleAccess)
Items: ListRoleAccess
- id: required (integer)
- user: required (object)
role representation without permissions
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
list does not exist.
HTTP status code 410
list is deleted.
get import information
get /lists/{id}/imports
get import information
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- q: (string)
the query string. returned datasets have to contain this string.
- page: (integer - default: 0)
the requested page
- size: (integer - default: 20)
size of a page
- sort: (string)
sort parameter.
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- pageMetadata: required (object)
meta information for paged resources
- size: required (integer)
- totalElements: required (integer)
- totalPages: required (integer)
- number: required (integer)
- content: required (array of import.ImportInfo)
Items: ImportInfo
- id: required (integer)
- name: required (string)
- status: required (one of CREATED, UPLOADED, IMPORTING, FINISHED)
upload information. created = file upload started. uploaded = file upload complete. importing = import in progress. finished = import complete
- type: required (one of LIST, SUPPRESSION)
- created: required (datetime)
- updated: required (datetime)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
upload a file for import
post /lists/{id}/imports/csv
upload a file for import
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: multipart/form-data
Type: object
Properties- file: required (file)
HTTP status code 200
file successfully uploaded
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- status: required (one of CREATED, UPLOADED, IMPORTING, FINISHED)
upload information. created = file upload started. uploaded = file upload complete. importing = import in progress. finished = import complete
- type: required (one of LIST, SUPPRESSION)
- created: required (datetime)
- updated: required (datetime)
- settings: required (object)
CSV information
- header: required (boolean)
- columnSeparator: required (one of TAB, ;, \|, ^)
- textDelimiter: required (string)
- list: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- suppressionList: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- columns: required (array of import.ImportColumnCSV)
Items: ImportColumnCSV
- position: required (integer)
- label: (string)
- attribute: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: (string)
- preview: required (array of string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
get recipients
create a new recipient
get /lists/{id}/recipients
get recipients
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- pageMetadata: required (object)
meta information for paged resources
- size: required (integer)
- totalElements: required (integer)
- totalPages: required (integer)
- number: required (integer)
- content: required (array of recipient.Recipient)
Items: Recipient
- id: required (integer)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- attributes: required (array of recipient.RecipientAttribute)
Items: RecipientAttribute
- id: required (integer)
- value: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /lists/{id}/recipients
create a new recipient
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: array of object
Items: RecipientAttribute
- id: required (integer)
- value: required (string)
HTTP status code 200
the created recipient
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- attributes: required (array of recipient.RecipientAttribute)
Items: RecipientAttribute
- id: required (integer)
- value: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
deletes a recipient from a list.
delete /lists/{id}/recipients/{id}
deletes a recipient from a list.
URI Parameters
- id: required (string)
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
recipient was deleted from list.
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
/selection-lists
fetch all visible and not deleted selection lists (black & whitelists)
Requires a valid JWT (JSON web token), which is granted by the server on login.
get /selection-lists
fetch all visible and not deleted selection lists (black & whitelists)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- pageMetadata: required (object)
meta information for paged resources
- size: required (integer)
- totalElements: required (integer)
- totalPages: required (integer)
- number: required (integer)
- content: required (array of selectionlist.SelectionListInfo)
Items: SelectionListInfo
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- type: required (one of MD5, SHA1, SHA256, SHA512, MAIL, DOMAIN, EXPRESSION)
types of list
- description: required (string)
- volume: required (integer)
- created: required (datetime)
- updated: required (datetime)
- suppression: required (boolean)
- whitelist: required (boolean)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /selection-lists
Requires a valid JWT (JSON web token), which is granted by the server on login.
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: required (string)
- type: required (one of MD5, SHA1, SHA256, SHA512, MAIL, DOMAIN, EXPRESSION)
types of list
- suppression: required (boolean)
- whitelist: required (boolean)
- description: required (string)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- type: required (one of MD5, SHA1, SHA256, SHA512, MAIL, DOMAIN, EXPRESSION)
types of list
- description: required (string)
- volume: required (integer)
- created: required (datetime)
- updated: required (datetime)
- suppression: required (boolean)
- whitelist: required (boolean)
HTTP status code 400
invalid input
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
fetch a list, if visible and not deleted.
updates a list
marks a list as deleted and restricts access to it. The list will be eventually deleted.
get /selection-lists/{id}
fetch a list, if visible and not deleted.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- type: required (one of MD5, SHA1, SHA256, SHA512, MAIL, DOMAIN, EXPRESSION)
types of list
- description: required (string)
- volume: required (integer)
- created: required (datetime)
- updated: required (datetime)
- suppression: required (boolean)
- whitelist: required (boolean)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
list does exist, but user has no permission to see it.
HTTP status code 404
list does not exist.
HTTP status code 410
list is deleted.
patch /selection-lists/{id}
updates a list
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: required (string)
- suppression: required (boolean)
- whitelist: required (boolean)
- description: required (string)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- type: required (one of MD5, SHA1, SHA256, SHA512, MAIL, DOMAIN, EXPRESSION)
types of list
- description: required (string)
- volume: required (integer)
- created: required (datetime)
- updated: required (datetime)
- suppression: required (boolean)
- whitelist: required (boolean)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
list does exist, but user has no permission to see it.
HTTP status code 404
list does not exist.
HTTP status code 410
list is deleted.
fetch a list of entries.
get /selection-lists/{id}/entries
fetch a list of entries.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- page: (integer - default: 0)
the requested page
- size: (integer - default: 20)
size of a page
- sort: (string)
sort parameter.
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- pageMetadata: required (object)
meta information for paged resources
- size: required (integer)
- totalElements: required (integer)
- totalPages: required (integer)
- number: required (integer)
- content: required (array of string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
get import information
manual import
get /selection-lists/{id}/imports
get import information
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- q: (string)
the query string. returned datasets have to contain this string.
- page: (integer - default: 0)
the requested page
- size: (integer - default: 20)
size of a page
- sort: (string)
sort parameter.
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- pageMetadata: required (object)
meta information for paged resources
- size: required (integer)
- totalElements: required (integer)
- totalPages: required (integer)
- number: required (integer)
- content: required (array of import.ImportInfo)
Items: ImportInfo
- id: required (integer)
- name: required (string)
- status: required (one of CREATED, UPLOADED, IMPORTING, FINISHED)
upload information. created = file upload started. uploaded = file upload complete. importing = import in progress. finished = import complete
- type: required (one of LIST, SUPPRESSION)
- created: required (datetime)
- updated: required (datetime)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /selection-lists/{id}/imports
manual import
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: array of object
Items: SuppressionEntry
- expr: required (string)
HTTP status code 200
added
HTTP status code 400
invalid type.
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
upload a file for import
post /selection-lists/{id}/imports/csv
upload a file for import
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: multipart/form-data
Type: object
Properties- file: required (file)
- charset: required (one of UTF-8, ISO-8859-15, windows-1252)
HTTP status code 200
file successfully uploaded
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- status: required (one of CREATED, UPLOADED, IMPORTING, FINISHED)
upload information. created = file upload started. uploaded = file upload complete. importing = import in progress. finished = import complete
- type: required (one of LIST, SUPPRESSION)
- created: required (datetime)
- updated: required (datetime)
- settings: required (object)
CSV information
- header: required (boolean)
- columnSeparator: required (one of TAB, ;, \|, ^)
- textDelimiter: required (string)
- list: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- suppressionList: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- columns: required (array of import.ImportColumnCSV)
Items: ImportColumnCSV
- position: required (integer)
- label: (string)
- attribute: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: (string)
- preview: required (array of string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
/imports
get specific import information
remove specific import. only the protocol entry is deleted, the subscribers are not unsubscribed.
updates an import
get /imports/{id}
get specific import information
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- status: required (one of CREATED, UPLOADED, IMPORTING, FINISHED)
upload information. created = file upload started. uploaded = file upload complete. importing = import in progress. finished = import complete
- type: required (one of LIST, SUPPRESSION)
- created: required (datetime)
- updated: required (datetime)
- settings: required (object)
CSV information
- header: required (boolean)
- columnSeparator: required (one of TAB, ;, \|, ^)
- textDelimiter: required (string)
- list: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- suppressionList: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- columns: required (array of import.ImportColumnCSV)
Items: ImportColumnCSV
- position: required (integer)
- label: (string)
- attribute: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: (string)
- preview: required (array of string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
delete /imports/{id}
remove specific import. only the protocol entry is deleted, the subscribers are not unsubscribed.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
post /imports/{id}
updates an import
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- header: required (boolean)
- columnSeparator: required (one of TAB, ;, \|, ^)
- textDelimiter: required (string)
HTTP status code 200
success
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- status: required (one of CREATED, UPLOADED, IMPORTING, FINISHED)
upload information. created = file upload started. uploaded = file upload complete. importing = import in progress. finished = import complete
- type: required (one of LIST, SUPPRESSION)
- created: required (datetime)
- updated: required (datetime)
- settings: required (object)
CSV information
- header: required (boolean)
- columnSeparator: required (one of TAB, ;, \|, ^)
- textDelimiter: required (string)
- list: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- suppressionList: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- columns: required (array of import.ImportColumnCSV)
Items: ImportColumnCSV
- position: required (integer)
- label: (string)
- attribute: (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: (string)
- preview: required (array of string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
start an import
post /imports/{id}/start
start an import
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- mappings: required (array of import.ImportColumnMapping)
Items: ImportColumnMapping
- position: required (integer)
- attribute: required (integer)
HTTP status code 200
import has started
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- status: required (one of CREATED, UPLOADED, IMPORTING, FINISHED)
upload information. created = file upload started. uploaded = file upload complete. importing = import in progress. finished = import complete
- type: required (one of LIST, SUPPRESSION)
- created: required (datetime)
- updated: required (datetime)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
get original file, if available
get /imports/{id}/download
get original file, if available
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
original file
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
file not available
/projects
get all projects
create new project
get /projects
get all projects
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- q: (string)
the query string. returned datasets have to contain this string.
- page: (integer - default: 0)
the requested page
- size: (integer - default: 20)
size of a page
- sort: (string)
sort parameter.
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- pageMetadata: required (object)
meta information for paged resources
- size: required (integer)
- totalElements: required (integer)
- totalPages: required (integer)
- number: required (integer)
- content: required (array of project.ProjectInfo)
Items: ProjectInfo
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- description: required (string)
- created: required (datetime)
- updated: required (datetime)
- creator: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /projects
create new project
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: required (string)
- description: (string)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- description: required (string)
- created: required (datetime)
- updated: required (datetime)
- creator: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
get specific project
get specific project
get /projects/{id}
get specific project
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- description: required (string)
- created: required (datetime)
- updated: required (datetime)
- creator: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
patch /projects/{id}
get specific project
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: required (string)
- description: (string)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- description: required (string)
- created: required (datetime)
- updated: required (datetime)
- creator: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
fetch a list of target groups / filter
get /projects/{id}/filters
fetch a list of target groups / filter
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: array of object
Items: SelectionInfo
- id: required (integer)
- name: required (string)
- listId: (integer)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
assign a filter to a project
delete a filter from project (does not delete filter)
put /projects/{id}/filters/{filterId}
assign a filter to a project
URI Parameters
- id: required (string)
- filterId: required (string)
Headers
- Authorization: required (string)
X-AuthToken
delete /projects/{id}/filters/{filterId}
delete a filter from project (does not delete filter)
URI Parameters
- id: required (string)
- filterId: required (string)
Headers
- Authorization: required (string)
X-AuthToken
fetch a list of mailings.
get /projects/{id}/mailings
fetch a list of mailings.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- page: (integer - default: 0)
the requested page
- size: (integer - default: 20)
size of a page
- sort: (string)
sort parameter.
- q: (string)
the query string. returned datasets have to contain this string.
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- pageMetadata: required (object)
meta information for paged resources
- size: required (integer)
- totalElements: required (integer)
- totalPages: required (integer)
- number: required (integer)
- content: required (array of mailing.MailingInfo)
Items: MailingInfo
- id: required (integer)
- listId: required (integer)
- name: required (string)
- format: required (one of TEXT, HTML, MULTI_PART)
may be removed in the future.
- type: required (one of ORDINARY, SPLIT_MASTER, SPLIT_SLAVE)
type of the mailing. currently, only ordinary mails supported.
- status: required (one of DRAFT, LOCK, PLAN, SEND)
current status of the mailing. if not draft, then certain properties are locked and cannot be adjusted anymore.
- subject: required (string)
- recipients: (integer)
recipients of the mailing. only available if recipients were calculated already. otherwise, it is null.
- successfulRecipients: (integer)
successful delivery to recipients. this only refers to the sending process itself.
- created: required (datetime)
- updated: required (datetime)
- sending: required (datetime)
- project: required (integer)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
list not found
all suppression lists of this project
get /projects/{id}/selection-lists
all suppression lists of this project
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- page: (integer - default: 0)
the requested page
- size: (integer - default: 20)
size of a page
- sort: (string)
sort parameter.
- q: (string)
the query string. returned datasets have to contain this string.
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- pageMetadata: required (object)
meta information for paged resources
- size: required (integer)
- totalElements: required (integer)
- totalPages: required (integer)
- number: required (integer)
- content: required (array of suppression.SuppressionListInfo)
Items: SuppressionListInfo
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- name: required (string)
- type: required (one of MD5, SHA1, SHA256, SHA512, MAIL, DOMAIN, EXPRESSION)
types of list
- description: required (string)
- volume: required (integer)
- created: required (datetime)
- updated: required (datetime)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
assign suppression list to project
delete assignment from suppression list. does not delete suppression list.
put /projects/{id}/selection-lists/{suppressionId}
assign suppression list to project
URI Parameters
- id: required (string)
- suppressionId: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 201
assignment created (or already assigned)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
/attributes
get a list of available attributes
add a new attribute.
get /attributes
get a list of available attributes
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- page: (integer - default: 0)
the requested page
- size: (integer - default: 20)
size of a page
- sort: (string)
sort parameter.
- q: (string)
the query string. returned datasets have to contain this string.
HTTP status code 200
get a list of objects
Body
Media type: application/json
Type: object
Properties- pageMetadata: required (object)
meta information for paged resources
- size: required (integer)
- totalElements: required (integer)
- totalPages: required (integer)
- number: required (integer)
- content: required (array of attribute.AttributeInfo)
Items: AttributeInfo
- id: required (integer)
- name: required (string)
- columnName: required (string - pattern: A-Za-z)
The internal representation. Is not changeable and can be defined at attribute creation. Is unique. Is used to access data in mailings or during selections. The server automatically generates a column name if null or empty.
Example:
Essen & Trinken gets automatically mapped to essenAndTrinken; - type: required (one of ID, MAIL, IP, GEO_STREET, GEO_STREET_NO, GEO_CITY, GEO_COUNTRY, GEO_ZIP, GEO_LAT, GEO_LONG, TEXT, BOOL, INTEGER, FLOAT, DATE, DATETIME, SUBSCRIPTION, UNSUBSCRIPTION)
The type of an attribute. Each attribute gets validated. MAIL only accepts valid e-mail addresses according to RFC 822. IP only accepts IPv4 or IPv6 addresses types with the prefix GEO_ are treated to determine the geographical coordinates. GEO_STREET is a text value. GEO_STREET_NO is a text value. It may be included in GEO_STREET. GEO_CITY is a text value GEO_COUNTRY is a text value GEO_ZIP is a text value GEO_LAT is a float value GEO_LONG is a float value TEXT is simple text. BOOL is either true or false. INTEGER accepts integer based values. The behaviour is guaranteed for a value between -2147483648 and 2147483647 FLOAT accepts decimal numbers and interprets it internally as double. DATE is a date without time. The proposed format is yyyy-MM-dd. Other values may be accepted. DATETIME is a date with time. The proposed format is yyyy-MM-dd HH:mm:ss, other values may be accepted. SUBSCRIPTION is a date time, which represents the subscription date. It cannot be modified or deleted. UNSUBSCRIPTION is a checkbox. If the user unsubscribed or gets unsubscribed, this checkbox is set.
- length: (integer)
- hidden: required (boolean)
- system: required (boolean)
- status: required (one of PENDING, SUCCESS)
- edit: required (boolean)
- subscription: required (integer)
refers to a list
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /attributes
add a new attribute.
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- page: (integer - default: 0)
the requested page
- size: (integer - default: 20)
size of a page
- sort: (string)
sort parameter.
- q: (string)
the query string. returned datasets have to contain this string.
Body
Media type: application/json
Type: object
Properties- name: required (string)
- column: (string - pattern: A-Za-z)
The internal representation. Is not changeable and can be defined at attribute creation. Is unique. Is used to access data in mailings or during selections. The server automatically generates a column name if null or empty based on the name.
- type: required (one of ID, MAIL, IP, GEO_STREET, GEO_STREET_NO, GEO_CITY, GEO_COUNTRY, GEO_ZIP, GEO_LAT, GEO_LONG, TEXT, BOOL, INTEGER, FLOAT, DATE, DATETIME, SUBSCRIPTION, UNSUBSCRIPTION)
The type of an attribute. Each attribute gets validated. MAIL only accepts valid e-mail addresses according to RFC 822. IP only accepts IPv4 or IPv6 addresses types with the prefix GEO_ are treated to determine the geographical coordinates. GEO_STREET is a text value. GEO_STREET_NO is a text value. It may be included in GEO_STREET. GEO_CITY is a text value GEO_COUNTRY is a text value GEO_ZIP is a text value GEO_LAT is a float value GEO_LONG is a float value TEXT is simple text. BOOL is either true or false. INTEGER accepts integer based values. The behaviour is guaranteed for a value between -2147483648 and 2147483647 FLOAT accepts decimal numbers and interprets it internally as double. DATE is a date without time. The proposed format is yyyy-MM-dd. Other values may be accepted. DATETIME is a date with time. The proposed format is yyyy-MM-dd HH:mm:ss, other values may be accepted. SUBSCRIPTION is a date time, which represents the subscription date. It cannot be modified or deleted. UNSUBSCRIPTION is a checkbox. If the user unsubscribed or gets unsubscribed, this checkbox is set.
- length: (integer)
- hidden: required (boolean)
- list: (array of common.UUID)
- edit: (boolean)
HTTP status code 200
attribute added.
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- columnName: required (string - pattern: A-Za-z)
The internal representation. Is not changeable and can be defined at attribute creation. Is unique. Is used to access data in mailings or during selections. The server automatically generates a column name if null or empty.
Example:
Essen & Trinken gets automatically mapped to essenAndTrinken; - type: required (one of ID, MAIL, IP, GEO_STREET, GEO_STREET_NO, GEO_CITY, GEO_COUNTRY, GEO_ZIP, GEO_LAT, GEO_LONG, TEXT, BOOL, INTEGER, FLOAT, DATE, DATETIME, SUBSCRIPTION, UNSUBSCRIPTION)
The type of an attribute. Each attribute gets validated. MAIL only accepts valid e-mail addresses according to RFC 822. IP only accepts IPv4 or IPv6 addresses types with the prefix GEO_ are treated to determine the geographical coordinates. GEO_STREET is a text value. GEO_STREET_NO is a text value. It may be included in GEO_STREET. GEO_CITY is a text value GEO_COUNTRY is a text value GEO_ZIP is a text value GEO_LAT is a float value GEO_LONG is a float value TEXT is simple text. BOOL is either true or false. INTEGER accepts integer based values. The behaviour is guaranteed for a value between -2147483648 and 2147483647 FLOAT accepts decimal numbers and interprets it internally as double. DATE is a date without time. The proposed format is yyyy-MM-dd. Other values may be accepted. DATETIME is a date with time. The proposed format is yyyy-MM-dd HH:mm:ss, other values may be accepted. SUBSCRIPTION is a date time, which represents the subscription date. It cannot be modified or deleted. UNSUBSCRIPTION is a checkbox. If the user unsubscribed or gets unsubscribed, this checkbox is set.
- length: (integer)
- hidden: required (boolean)
- system: required (boolean)
- status: required (one of PENDING, SUCCESS)
- edit: required (boolean)
- subscription: required (integer)
refers to a list
HTTP status code 202
attribute add request received, but could not be added yet.
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- columnName: required (string - pattern: A-Za-z)
The internal representation. Is not changeable and can be defined at attribute creation. Is unique. Is used to access data in mailings or during selections. The server automatically generates a column name if null or empty.
Example:
Essen & Trinken gets automatically mapped to essenAndTrinken; - type: required (one of ID, MAIL, IP, GEO_STREET, GEO_STREET_NO, GEO_CITY, GEO_COUNTRY, GEO_ZIP, GEO_LAT, GEO_LONG, TEXT, BOOL, INTEGER, FLOAT, DATE, DATETIME, SUBSCRIPTION, UNSUBSCRIPTION)
The type of an attribute. Each attribute gets validated. MAIL only accepts valid e-mail addresses according to RFC 822. IP only accepts IPv4 or IPv6 addresses types with the prefix GEO_ are treated to determine the geographical coordinates. GEO_STREET is a text value. GEO_STREET_NO is a text value. It may be included in GEO_STREET. GEO_CITY is a text value GEO_COUNTRY is a text value GEO_ZIP is a text value GEO_LAT is a float value GEO_LONG is a float value TEXT is simple text. BOOL is either true or false. INTEGER accepts integer based values. The behaviour is guaranteed for a value between -2147483648 and 2147483647 FLOAT accepts decimal numbers and interprets it internally as double. DATE is a date without time. The proposed format is yyyy-MM-dd. Other values may be accepted. DATETIME is a date with time. The proposed format is yyyy-MM-dd HH:mm:ss, other values may be accepted. SUBSCRIPTION is a date time, which represents the subscription date. It cannot be modified or deleted. UNSUBSCRIPTION is a checkbox. If the user unsubscribed or gets unsubscribed, this checkbox is set.
- length: (integer)
- hidden: required (boolean)
- system: required (boolean)
- status: required (one of PENDING, SUCCESS)
- edit: required (boolean)
- subscription: required (integer)
refers to a list
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
get a single attribute
mod a single attribute
delete a single attribute
get /attributes/{id}
get a single attribute
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
attribute
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- columnName: required (string - pattern: A-Za-z)
The internal representation. Is not changeable and can be defined at attribute creation. Is unique. Is used to access data in mailings or during selections. The server automatically generates a column name if null or empty.
Example:
Essen & Trinken gets automatically mapped to essenAndTrinken; - type: required (one of ID, MAIL, IP, GEO_STREET, GEO_STREET_NO, GEO_CITY, GEO_COUNTRY, GEO_ZIP, GEO_LAT, GEO_LONG, TEXT, BOOL, INTEGER, FLOAT, DATE, DATETIME, SUBSCRIPTION, UNSUBSCRIPTION)
The type of an attribute. Each attribute gets validated. MAIL only accepts valid e-mail addresses according to RFC 822. IP only accepts IPv4 or IPv6 addresses types with the prefix GEO_ are treated to determine the geographical coordinates. GEO_STREET is a text value. GEO_STREET_NO is a text value. It may be included in GEO_STREET. GEO_CITY is a text value GEO_COUNTRY is a text value GEO_ZIP is a text value GEO_LAT is a float value GEO_LONG is a float value TEXT is simple text. BOOL is either true or false. INTEGER accepts integer based values. The behaviour is guaranteed for a value between -2147483648 and 2147483647 FLOAT accepts decimal numbers and interprets it internally as double. DATE is a date without time. The proposed format is yyyy-MM-dd. Other values may be accepted. DATETIME is a date with time. The proposed format is yyyy-MM-dd HH:mm:ss, other values may be accepted. SUBSCRIPTION is a date time, which represents the subscription date. It cannot be modified or deleted. UNSUBSCRIPTION is a checkbox. If the user unsubscribed or gets unsubscribed, this checkbox is set.
- length: (integer)
- hidden: required (boolean)
- system: required (boolean)
- status: required (one of PENDING, SUCCESS)
- edit: required (boolean)
- subscription: required (integer)
refers to a list
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
patch /attributes/{id}
mod a single attribute
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: required (string)
- hidden: required (boolean)
- edit: (boolean)
HTTP status code 200
attribute added.
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- columnName: required (string - pattern: A-Za-z)
The internal representation. Is not changeable and can be defined at attribute creation. Is unique. Is used to access data in mailings or during selections. The server automatically generates a column name if null or empty.
Example:
Essen & Trinken gets automatically mapped to essenAndTrinken; - type: required (one of ID, MAIL, IP, GEO_STREET, GEO_STREET_NO, GEO_CITY, GEO_COUNTRY, GEO_ZIP, GEO_LAT, GEO_LONG, TEXT, BOOL, INTEGER, FLOAT, DATE, DATETIME, SUBSCRIPTION, UNSUBSCRIPTION)
The type of an attribute. Each attribute gets validated. MAIL only accepts valid e-mail addresses according to RFC 822. IP only accepts IPv4 or IPv6 addresses types with the prefix GEO_ are treated to determine the geographical coordinates. GEO_STREET is a text value. GEO_STREET_NO is a text value. It may be included in GEO_STREET. GEO_CITY is a text value GEO_COUNTRY is a text value GEO_ZIP is a text value GEO_LAT is a float value GEO_LONG is a float value TEXT is simple text. BOOL is either true or false. INTEGER accepts integer based values. The behaviour is guaranteed for a value between -2147483648 and 2147483647 FLOAT accepts decimal numbers and interprets it internally as double. DATE is a date without time. The proposed format is yyyy-MM-dd. Other values may be accepted. DATETIME is a date with time. The proposed format is yyyy-MM-dd HH:mm:ss, other values may be accepted. SUBSCRIPTION is a date time, which represents the subscription date. It cannot be modified or deleted. UNSUBSCRIPTION is a checkbox. If the user unsubscribed or gets unsubscribed, this checkbox is set.
- length: (integer)
- hidden: required (boolean)
- system: required (boolean)
- status: required (one of PENDING, SUCCESS)
- edit: required (boolean)
- subscription: required (integer)
refers to a list
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 423
attribute is immutable (system attributes, i.e. mail address or subscription date)
delete /attributes/{id}
delete a single attribute
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
attribute is deleted. data in attribute will eventually be deleted too.
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 423
attribute is immutable (system attributes, i.e. mail address or subscription date)
/recipients
get recipient (all registered attributes)
update a recipient
deletes a recipient. globally.
get /recipients/{id}
get recipient (all registered attributes)
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
get a recipient
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- attributes: required (array of recipient.RecipientAttribute)
Items: RecipientAttribute
- id: required (integer)
- value: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
patch /recipients/{id}
update a recipient
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: array of object
Items: RecipientAttribute
- id: required (integer)
- value: required (string)
HTTP status code 200
recipient updated
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- attributes: required (array of recipient.RecipientAttribute)
Items: RecipientAttribute
- id: required (integer)
- value: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
delete /recipients/{id}
deletes a recipient. globally.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
/mailings
fetch mailing information
update an existing mailing.
delete a mailing
get /mailings/{id}
fetch mailing information
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
mailing available
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- listId: required (integer)
- name: required (string)
- format: required (one of TEXT, HTML, MULTI_PART)
may be removed in the future.
- type: required (one of ORDINARY, SPLIT_MASTER, SPLIT_SLAVE)
type of the mailing. currently, only ordinary mails supported.
- status: required (one of DRAFT, LOCK, PLAN, SEND)
current status of the mailing. if not draft, then certain properties are locked and cannot be adjusted anymore.
- subject: required (string)
- recipients: (integer)
recipients of the mailing. only available if recipients were calculated already. otherwise, it is null.
- successfulRecipients: (integer)
successful delivery to recipients. this only refers to the sending process itself.
- created: required (datetime)
- updated: required (datetime)
- sending: required (datetime)
- project: required (integer)
- sender: (object)
registered address preset
- id: required (integer)
- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
- replyTo: (object)
registered address preset
- id: required (integer)
- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
- filter: required (array of integer)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
mailing not found.
patch /mailings/{id}
update an existing mailing.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: (string)
- subject: (string)
- sender: (integer)
- replyTo: (integer)
- project: (integer)
- filter: (array of integer)
HTTP status code 200
update successful.
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- listId: required (integer)
- name: required (string)
- format: required (one of TEXT, HTML, MULTI_PART)
may be removed in the future.
- type: required (one of ORDINARY, SPLIT_MASTER, SPLIT_SLAVE)
type of the mailing. currently, only ordinary mails supported.
- status: required (one of DRAFT, LOCK, PLAN, SEND)
current status of the mailing. if not draft, then certain properties are locked and cannot be adjusted anymore.
- subject: required (string)
- recipients: (integer)
recipients of the mailing. only available if recipients were calculated already. otherwise, it is null.
- successfulRecipients: (integer)
successful delivery to recipients. this only refers to the sending process itself.
- created: required (datetime)
- updated: required (datetime)
- sending: required (datetime)
- project: required (integer)
- sender: (object)
registered address preset
- id: required (integer)
- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
- replyTo: (object)
registered address preset
- id: required (integer)
- name: required (string)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- listDefault: required (boolean)
- filter: required (array of integer)
HTTP status code 400
update failed (may be caused by nonsense-data)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
mailing not found
HTTP status code 423
mailing is locked and cannot be modified.
delete /mailings/{id}
delete a mailing
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
deletion successful
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
mailing cannot be deleted because it does not exist.
Fetch available checks. This includes already finished checks with their LAST result.
get /mailings/{id}/checks
Fetch available checks. This includes already finished checks with their LAST result.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: array of object
Items: CheckResponse
- info: required (object)
information of a specific test
- id: required (string)
- icon: (string)
- name: required (string)
- description: required (string)
- vendor: required (string)
- feeRequired: required (boolean)
- price: (number)
- result: (object)
specific test result of a mailing
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- checkId: required (string)
- timestamp: required (datetime)
- state: required (one of RUNNING, OK, WARNING, ERROR)
- score: (number)
- expired: required (boolean)
- results: required (array of check.CheckSingleResult)
Items: CheckSingleResult
- request: required (string)
- response: required (string)
- score: (number)
- result: required (one of RUNNING, OK, WARNING, ERROR)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
fetch result of check, if available
start a check
get /mailings/{id}/checks/{checkname}
fetch result of check, if available
URI Parameters
- id: required (string)
- checkname: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- info: required (object)
information of a specific test
- id: required (string)
- icon: (string)
- name: required (string)
- description: required (string)
- vendor: required (string)
- feeRequired: required (boolean)
- price: (number)
- result: (object)
specific test result of a mailing
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- checkId: required (string)
- timestamp: required (datetime)
- state: required (one of RUNNING, OK, WARNING, ERROR)
- score: (number)
- expired: required (boolean)
- results: required (array of check.CheckSingleResult)
Items: CheckSingleResult
- request: required (string)
- response: required (string)
- score: (number)
- result: required (one of RUNNING, OK, WARNING, ERROR)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
check or check result not found.
post /mailings/{id}/checks/{checkname}
start a check
URI Parameters
- id: required (string)
- checkname: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- info: required (object)
information of a specific test
- id: required (string)
- icon: (string)
- name: required (string)
- description: required (string)
- vendor: required (string)
- feeRequired: required (boolean)
- price: (number)
- result: (object)
specific test result of a mailing
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- checkId: required (string)
- timestamp: required (datetime)
- state: required (one of RUNNING, OK, WARNING, ERROR)
- score: (number)
- expired: required (boolean)
- results: required (array of check.CheckSingleResult)
Items: CheckSingleResult
- request: required (string)
- response: required (string)
- score: (number)
- result: required (one of RUNNING, OK, WARNING, ERROR)
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
check or check result not found.
fetch the queue for this mailing. Response includes related queue items of other mailings, if split test
queue mailing for sendout
delete the queue for this mailing. if split test
get /mailings/{id}/queue
fetch the queue for this mailing. Response includes related queue items of other mailings, if split test
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- scope: (one of MAILING, RELATED - default: MAILING)
scope of the queue.
HTTP status code 200
queue available
Body
Media type: application/json
Type: array of object
Items: QueueItem
- id: required (integer)
- type: required (one of TEST, PRECONDITION, CONDITIONAL_MAIN, MAIN)
type of the queue item
- mailing: required (integer)
- status: required (one of CREATED, CALCULATING, CALCULATED, CONDITIONAL, PLANNED, ABORTED, STARTED, SENDING, FINISHED, ERROR, CONDITION_FAILED)
status of the queue item
- volume: required (integer)
- created: required (datetime)
- sendTime: required (datetime)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /mailings/{id}/queue
queue mailing for sendout
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- startMode: required (one of AFTER_CALCULATE, MANUAL, PLANNED)
- orderMode: (one of NO_CHANGE, SHUFFLE)
- plannedVolume: (integer)
- sendTime: (datetime)
- filter: (array of integer)
HTTP status code 200
queue item created. Async processing.
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- type: required (one of TEST, PRECONDITION, CONDITIONAL_MAIN, MAIN)
type of the queue item
- mailing: required (integer)
- status: required (one of CREATED, CALCULATING, CALCULATED, CONDITIONAL, PLANNED, ABORTED, STARTED, SENDING, FINISHED, ERROR, CONDITION_FAILED)
status of the queue item
- volume: required (integer)
- created: required (datetime)
- sendTime: required (datetime)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
delete /mailings/{id}/queue
delete the queue for this mailing. if split test
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
result
Body
Media type: application/json
Type: array of object
Items: QueueDeleteResult
- id: required (integer)
- status: required (one of DELETED, STOPPED, NOT_MODIFIED)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
modify queue item
delete / stop queue item
delete /mailings/{id}/queue/{qid}
delete / stop queue item
URI Parameters
- id: required (string)
- qid: required (string)
HTTP status code 200
item deleted
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- status: required (one of DELETED, STOPPED, NOT_MODIFIED)
HTTP status code 202
stop queue item (currently sending)
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- status: required (one of DELETED, STOPPED, NOT_MODIFIED)
HTTP status code 404
item not found
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- status: required (one of DELETED, STOPPED, NOT_MODIFIED)
HTTP status code 409
queue item already sent.
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- status: required (one of DELETED, STOPPED, NOT_MODIFIED)
get all parts of the mailing
create a new part for the mailing (currently html / text).
get /mailings/{id}/parts
get all parts of the mailing
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: array of object
Items: MailingPart
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- type: required (one of TEXT, HTML, AMP)
type of the part. We support TEXT, HTML and AMP. AMP is a specific part type for dynamic mails (i.e. supported by gmail / gsuite)
- content: required (string)
post /mailings/{id}/parts
create a new part for the mailing (currently html / text).
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- type: required (one of TEXT, HTML, AMP)
type of the part. We support TEXT, HTML and AMP. AMP is a specific part type for dynamic mails (i.e. supported by gmail / gsuite)
- content: required (string)
HTTP status code 202
created
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- type: required (one of TEXT, HTML, AMP)
type of the part. We support TEXT, HTML and AMP. AMP is a specific part type for dynamic mails (i.e. supported by gmail / gsuite)
- content: required (string)
HTTP status code 400
diverse client error
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
mailing not found
HTTP status code 409
part could not be created because condition failed (multiple HTML parts not allowed).
HTTP status code 423
mailing locked.
get the part and its content
update a part
delete a part
get /mailings/{id}/parts/{id}
get the part and its content
URI Parameters
- id: required (string)
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
created
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- type: required (one of TEXT, HTML, AMP)
type of the part. We support TEXT, HTML and AMP. AMP is a specific part type for dynamic mails (i.e. supported by gmail / gsuite)
- content: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
patch /mailings/{id}/parts/{id}
update a part
URI Parameters
- id: required (string)
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- content: required (string)
delete /mailings/{id}/parts/{id}
delete a part
URI Parameters
- id: required (string)
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
render the preview
get /mailings/{id}/parts/{id}/preview
render the preview
URI Parameters
- id: required (string)
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- id: required (integer)
the id of the recipient (for personalization preview)
HTTP status code 200
created
Body
Media type: text/plain
Type: string
Example:
I am a text mail
Media type: text/html
Type: string
Example:
<b>I am a mail</b>
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 406
cannot render part. usually, this does not happen.
/server/mail/out
fetches a list of all sendout servers
create a new sendout server
get /server/mail/out
fetches a list of all sendout servers
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
ok.
Body
Media type: application/json
Type: array of object
Items: SendoutServer
- id: required (integer)
- name: required (string)
- isDefault: required (boolean)
- type: required (one of MAIL, PRIORITY_MAIL)
type of the send out server.
- smtpUrl: required (string)
- port: (integer)
- maxConnections: (integer)
- userName: required (string)
- password: required (string)
- limitPerHour: (integer)
- engine: required (one of DEALER, SMTP)
defines the way the mails are sent. currently, we support SMTP and our own send engine
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /server/mail/out
create a new sendout server
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: server.SendoutServerModifyRequest;
HTTP status code 200
ok
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- isDefault: required (boolean)
- type: required (one of MAIL, PRIORITY_MAIL)
type of the send out server.
- smtpUrl: required (string)
- port: (integer)
- maxConnections: (integer)
- userName: required (string)
- password: required (string)
- limitPerHour: (integer)
- engine: required (one of DEALER, SMTP)
defines the way the mails are sent. currently, we support SMTP and our own send engine
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
fetches a list of all sendout servers
modifies a server
deletes a server
get /server/mail/out/{serverId}
fetches a list of all sendout servers
URI Parameters
- serverId: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
ok.
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- isDefault: required (boolean)
- type: required (one of MAIL, PRIORITY_MAIL)
type of the send out server.
- smtpUrl: required (string)
- port: (integer)
- maxConnections: (integer)
- userName: required (string)
- password: required (string)
- limitPerHour: (integer)
- engine: required (one of DEALER, SMTP)
defines the way the mails are sent. currently, we support SMTP and our own send engine
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
patch /server/mail/out/{serverId}
modifies a server
URI Parameters
- serverId: required (string)
Body
Media type: application/json
Type: server.SendoutServerModifyRequest;
HTTP status code 200
ok
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- isDefault: required (boolean)
- type: required (one of MAIL, PRIORITY_MAIL)
type of the send out server.
- smtpUrl: required (string)
- port: (integer)
- maxConnections: (integer)
- userName: required (string)
- password: required (string)
- limitPerHour: (integer)
- engine: required (one of DEALER, SMTP)
defines the way the mails are sent. currently, we support SMTP and our own send engine
/settings
fetches a list of all customizable (global) settings.
fetch a global setting
modify a global setting
patch /settings/{key}
modify a global setting
URI Parameters
- key: required (string)
Body
Media type: application/json
Type: object
Properties- value: required (string)
/filters
fetch a list of target groups / filter
get /filters
fetch a list of target groups / filter
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- q: (string)
the query string. returned datasets have to contain this string.
- page: (integer - default: 0)
the requested page
- size: (integer - default: 20)
size of a page
- sort: (string)
sort parameter.
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- pageMetadata: required (object)
meta information for paged resources
- size: required (integer)
- totalElements: required (integer)
- totalPages: required (integer)
- number: required (integer)
- content: required (array of selection.SelectionInfo)
Items: SelectionInfo
- id: required (integer)
- name: required (string)
- listId: (integer)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /filters
Body
Media type: application/json
Type: object
Properties- name: required (string)
- sql: (string)
- listId: required (integer)
- operator: (one of AND, OR)
combine single selection functions
- operations: (array of selection.SelectionOperation)
Items: SelectionOperation
- function: required (one of COL_OP, FUNC_ALL_SEND, FUNC_ANY_SEND, FUNC_SUBSCRIBED, FUNC_UNSUBSCRIBED, FUNC_OPENED, FUNC_CLICKED, FUNC_REACTED, FUNC_NUM_SEND)
- attribute: (integer)
- operator: required (one of EQ, NEQ, IN, NIN, GTE, GT, LT, LTE, IS_NULL, IS_NOT_NULL, BETWEEN, NOT_BETWEEN)
- params: required (array of string)
Example:
{
"name": "Filter",
"operator": "AND",
"operations": [
{
"function": "COL_OP",
"attribute": 1,
"operator": "BETWEEN",
"params": [
"23",
"23",
"34"
]
},
{
"function": "COL_OP",
"attribute": 33,
"operator": "BETWEEN",
"params": [
"2017-02-02T12:12:12",
"2017-02-04T12:12:12"
],
"__comment": "yyyy-MM-dd'T'hh:mm:ss - sixmail should be able to detect many formats, but it will return this one"
},
{
"function": "COL_OP",
"attribute": 2,
"operator": "EQ",
"params": [
"mail@mail.de"
]
},
{
"function": "COL_OP",
"attribute": 2,
"operator": "EQ",
"params": [
"mail@mail.de"
]
},
{
"function": "FUNC_ANY_SEND",
"operator": "IN",
"params": [
"1234",
"1234",
"1234",
"1234"
],
"__comment": "2 supported operators: IN: any given mailings were send. NIN: none of the given mailings were send "
},
{
"function": "FUNC_ALL_SEND",
"operator": "IN",
"params": [
"1234",
"1234",
"1234",
"1234"
],
"__comment": "2 supported operators: IN: all given mailings were send. NIN: not all or none of the given mailings were send "
},
{
"function": "FUNC_SUBSCRIBED",
"operator": "EQ",
"params": [
"1234"
],
"__comment": "2 supported operators: EQ: subscribed in given lists. NEQ: not subscribed in given list. "
},
{
"function": "FUNC_UNSUBSCRIBED",
"operator": "EQ",
"params": [
"1234"
],
"__comment": "2 supported operators: EQ: unsubscribed in given list. NEQ: not unsubscribed in given list."
},
{
"function": "FUNC_CLICKED",
"operator": "IN",
"params": [
"1234",
"1234"
],
"__comment": "2 supported operators: IN: clicked any of the mailings. NIN: clicked none of the mailings"
},
{
"function": "FUNC_OPENED",
"operator": "IN",
"params": [
"1234",
"1234"
],
"__comment": "2 supported operators: IN: clicked any of the mailings. NIN: clicked none of the mailings"
},
{
"function": "FUNC_CLICKED",
"operator": "IN",
"params": [
"1234",
"1234"
],
"__comment": "2 supported operators: IN: clicked any of the mailings. NIN: clicked none of the mailings"
},
{
"function": "FUNC_REACTED",
"operator": "IN",
"params": [
"1234",
"1234"
],
"__comment": "2 supported operators: IN: clicked/opened any of the mailings. NIN: clicked/opened none of the mailings"
},
{
"function": "FUNC_NUM_SEND",
"attribute": null,
"operator": "GTE",
"params": [
"2013-02-02T12:12:12",
"2013-02-02T12:12:12",
"4"
]
},
{
"function": "FUNC_DISTANCE_TO",
"attribute": null,
"operator": "LT",
"params": [
"45.125",
"55.21",
"4.5"
]
}
],
"listId": null
}
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- listId: (integer)
fetch a list of target groups / filter
get /filters/global
fetch a list of target groups / filter
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: array of object
Items: SelectionInfo
- id: required (integer)
- name: required (string)
- listId: (integer)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
Requires a valid JWT (JSON web token), which is granted by the server on login.
Requires a valid JWT (JSON web token), which is granted by the server on login.
Requires a valid JWT (JSON web token), which is granted by the server on login.
get /filters/{id}
Requires a valid JWT (JSON web token), which is granted by the server on login.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- description: required (string)
- sql: required (string)
- operator: required (one of AND, OR)
combine single selection functions
- mode: required (one of SIMPLE, SQL)
if sql, then only sql is available (sql is too complex to parse in simple mode)
- operations: required (array of selection.SelectionOperation)
Items: SelectionOperation
- function: required (one of COL_OP, FUNC_ALL_SEND, FUNC_ANY_SEND, FUNC_SUBSCRIBED, FUNC_UNSUBSCRIBED, FUNC_OPENED, FUNC_CLICKED, FUNC_REACTED, FUNC_NUM_SEND)
- attribute: (integer)
- operator: required (one of EQ, NEQ, IN, NIN, GTE, GT, LT, LTE, IS_NULL, IS_NOT_NULL, BETWEEN, NOT_BETWEEN)
- params: required (array of string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
patch /filters/{id}
Requires a valid JWT (JSON web token), which is granted by the server on login.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: required (string)
- sql: (string)
- listId: required (integer)
- operator: (one of AND, OR)
combine single selection functions
- operations: (array of selection.SelectionOperation)
Items: SelectionOperation
- function: required (one of COL_OP, FUNC_ALL_SEND, FUNC_ANY_SEND, FUNC_SUBSCRIBED, FUNC_UNSUBSCRIBED, FUNC_OPENED, FUNC_CLICKED, FUNC_REACTED, FUNC_NUM_SEND)
- attribute: (integer)
- operator: required (one of EQ, NEQ, IN, NIN, GTE, GT, LT, LTE, IS_NULL, IS_NOT_NULL, BETWEEN, NOT_BETWEEN)
- params: required (array of string)
Example:
{
"name": "Filter",
"operator": "AND",
"operations": [
{
"function": "COL_OP",
"attribute": 1,
"operator": "BETWEEN",
"params": [
"23",
"23",
"34"
]
},
{
"function": "COL_OP",
"attribute": 33,
"operator": "BETWEEN",
"params": [
"2017-02-02T12:12:12",
"2017-02-04T12:12:12"
],
"__comment": "yyyy-MM-dd'T'hh:mm:ss - sixmail should be able to detect many formats, but it will return this one"
},
{
"function": "COL_OP",
"attribute": 2,
"operator": "EQ",
"params": [
"mail@mail.de"
]
},
{
"function": "COL_OP",
"attribute": 2,
"operator": "EQ",
"params": [
"mail@mail.de"
]
},
{
"function": "FUNC_ANY_SEND",
"operator": "IN",
"params": [
"1234",
"1234",
"1234",
"1234"
],
"__comment": "2 supported operators: IN: any given mailings were send. NIN: none of the given mailings were send "
},
{
"function": "FUNC_ALL_SEND",
"operator": "IN",
"params": [
"1234",
"1234",
"1234",
"1234"
],
"__comment": "2 supported operators: IN: all given mailings were send. NIN: not all or none of the given mailings were send "
},
{
"function": "FUNC_SUBSCRIBED",
"operator": "EQ",
"params": [
"1234"
],
"__comment": "2 supported operators: EQ: subscribed in given lists. NEQ: not subscribed in given list. "
},
{
"function": "FUNC_UNSUBSCRIBED",
"operator": "EQ",
"params": [
"1234"
],
"__comment": "2 supported operators: EQ: unsubscribed in given list. NEQ: not unsubscribed in given list."
},
{
"function": "FUNC_CLICKED",
"operator": "IN",
"params": [
"1234",
"1234"
],
"__comment": "2 supported operators: IN: clicked any of the mailings. NIN: clicked none of the mailings"
},
{
"function": "FUNC_OPENED",
"operator": "IN",
"params": [
"1234",
"1234"
],
"__comment": "2 supported operators: IN: clicked any of the mailings. NIN: clicked none of the mailings"
},
{
"function": "FUNC_CLICKED",
"operator": "IN",
"params": [
"1234",
"1234"
],
"__comment": "2 supported operators: IN: clicked any of the mailings. NIN: clicked none of the mailings"
},
{
"function": "FUNC_REACTED",
"operator": "IN",
"params": [
"1234",
"1234"
],
"__comment": "2 supported operators: IN: clicked/opened any of the mailings. NIN: clicked/opened none of the mailings"
},
{
"function": "FUNC_NUM_SEND",
"attribute": null,
"operator": "GTE",
"params": [
"2013-02-02T12:12:12",
"2013-02-02T12:12:12",
"4"
]
},
{
"function": "FUNC_DISTANCE_TO",
"attribute": null,
"operator": "LT",
"params": [
"45.125",
"55.21",
"4.5"
]
}
],
"listId": null
}
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- description: required (string)
- sql: required (string)
- operator: required (one of AND, OR)
combine single selection functions
- mode: required (one of SIMPLE, SQL)
if sql, then only sql is available (sql is too complex to parse in simple mode)
- operations: required (array of selection.SelectionOperation)
Items: SelectionOperation
- function: required (one of COL_OP, FUNC_ALL_SEND, FUNC_ANY_SEND, FUNC_SUBSCRIBED, FUNC_UNSUBSCRIBED, FUNC_OPENED, FUNC_CLICKED, FUNC_REACTED, FUNC_NUM_SEND)
- attribute: (integer)
- operator: required (one of EQ, NEQ, IN, NIN, GTE, GT, LT, LTE, IS_NULL, IS_NOT_NULL, BETWEEN, NOT_BETWEEN)
- params: required (array of string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
delete /filters/{id}
Requires a valid JWT (JSON web token), which is granted by the server on login.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
requests a ticket for obtaining recipients.
get /filters/{id}/scroll
requests a ticket for obtaining recipients.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- timeout: (integer - default: 900)
selections of recipients requires to assign server resources. This request tells the server how long it should assign the resources.
Example:
900
HTTP status code 200
the request was accepted.
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- hits: required (integer)
- ttl: required (integer)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 429
the scroll results are limited. this status code indicates, that the limit is reached.
uses a previously assigned ticket to obtain recipients.
forcefully closes a scroll.
get /filters/{id}/scroll/{ticket}
uses a previously assigned ticket to obtain recipients.
URI Parameters
- id: required (string)
- ticket: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 100
the scroll still contains data.
Body
Media type: application/json
Type: array of object
Items: Recipient
- id: required (integer)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- attributes: required (array of recipient.RecipientAttribute)
Items: RecipientAttribute
- id: required (integer)
- value: required (string)
HTTP status code 200
the scroll was fully readed & closed.
Body
Media type: application/json
Type: array of object
Items: Recipient
- id: required (integer)
- mail: required (string)
Email based with (Java-compatible) Regex, cp. http://emailregex.com/.
- attributes: required (array of recipient.RecipientAttribute)
Items: RecipientAttribute
- id: required (integer)
- value: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
the scroll was not found (i.e. cleaned up)
HTTP status code 410
the scroll is closed.
delete /filters/{id}/scroll/{ticket}
forcefully closes a scroll.
URI Parameters
- id: required (string)
- ticket: required (string)
Headers
- Authorization: required (string)
X-AuthToken
/domains
Requires a valid JWT (JSON web token), which is granted by the server on login.
Requires a valid JWT (JSON web token), which is granted by the server on login.
get /domains
Requires a valid JWT (JSON web token), which is granted by the server on login.
Headers
- Authorization: required (string)
X-AuthToken
Query Parameters
- q: (string)
the query string. returned datasets have to contain this string.
HTTP status code 200
Body
Media type: application/json
Type: array of domain.AbstractDomainInfo
Items: DomainInfo
- id: required (integer)
- name: required (string)
- sender: required (boolean)
- bounce: required (boolean)
- trLink: required (boolean)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /domains
Requires a valid JWT (JSON web token), which is granted by the server on login.
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: required (string)
- sender: required (boolean)
- bounce: required (boolean)
- trLink: required (boolean)
- ssl: required (boolean)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- sender: required (boolean)
- bounce: required (boolean)
- trLink: required (boolean)
- ssl: required (boolean)
- validSPF: required (boolean)
- validDKIM: required (boolean)
- validLink: required (boolean)
- dns: required (array of domain.DNSRecord)
Items: DNSRecord
- type: required (one of A, MX, CNAME, TXT)
- name: required (string)
- value: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
Requires a valid JWT (JSON web token), which is granted by the server on login.
Requires a valid JWT (JSON web token), which is granted by the server on login.
delete domain & subdomains from system.
get /domains/{id}
Requires a valid JWT (JSON web token), which is granted by the server on login.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- sender: required (boolean)
- bounce: required (boolean)
- trLink: required (boolean)
- ssl: required (boolean)
- validSPF: required (boolean)
- validDKIM: required (boolean)
- validLink: required (boolean)
- dns: required (array of domain.DNSRecord)
Items: DNSRecord
- type: required (one of A, MX, CNAME, TXT)
- name: required (string)
- value: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
patch /domains/{id}
Requires a valid JWT (JSON web token), which is granted by the server on login.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- sender: required (boolean)
- bounce: required (boolean)
- trLink: required (boolean)
- ssl: required (boolean)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- sender: required (boolean)
- bounce: required (boolean)
- trLink: required (boolean)
- ssl: required (boolean)
- validSPF: required (boolean)
- validDKIM: required (boolean)
- validLink: required (boolean)
- dns: required (array of domain.DNSRecord)
Items: DNSRecord
- type: required (one of A, MX, CNAME, TXT)
- name: required (string)
- value: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
delete /domains/{id}
delete domain & subdomains from system.
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
create new sub domain
post /domains/{id}/subdomain
create new sub domain
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: required (string)
- sender: required (boolean)
- bounce: required (boolean)
- trLink: required (boolean)
- ssl: required (boolean)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- sender: required (boolean)
- bounce: required (boolean)
- trLink: required (boolean)
- ssl: required (boolean)
- validSPF: required (boolean)
- validDKIM: required (boolean)
- validLink: required (boolean)
- dns: required (array of domain.DNSRecord)
Items: DNSRecord
- type: required (one of A, MX, CNAME, TXT)
- name: required (string)
- value: required (string)
- parent: required (integer)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
Requires a valid JWT (JSON web token), which is granted by the server on login.
Requires a valid JWT (JSON web token), which is granted by the server on login.
delete domain & subdomains from system.
get /domains/{id}/subdomain/{subdomainId}
Requires a valid JWT (JSON web token), which is granted by the server on login.
URI Parameters
- id: required (string)
- subdomainId: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- sender: required (boolean)
- bounce: required (boolean)
- trLink: required (boolean)
- ssl: required (boolean)
- validSPF: required (boolean)
- validDKIM: required (boolean)
- validLink: required (boolean)
- dns: required (array of domain.DNSRecord)
Items: DNSRecord
- type: required (one of A, MX, CNAME, TXT)
- name: required (string)
- value: required (string)
- parent: required (integer)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
patch /domains/{id}/subdomain/{subdomainId}
Requires a valid JWT (JSON web token), which is granted by the server on login.
URI Parameters
- id: required (string)
- subdomainId: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- sender: required (boolean)
- bounce: required (boolean)
- trLink: required (boolean)
- ssl: required (boolean)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- sender: required (boolean)
- bounce: required (boolean)
- trLink: required (boolean)
- ssl: required (boolean)
- validSPF: required (boolean)
- validDKIM: required (boolean)
- validLink: required (boolean)
- dns: required (array of domain.DNSRecord)
Items: DNSRecord
- type: required (one of A, MX, CNAME, TXT)
- name: required (string)
- value: required (string)
- parent: required (integer)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
delete /domains/{id}/subdomain/{subdomainId}
delete domain & subdomains from system.
URI Parameters
- id: required (string)
- subdomainId: required (string)
Headers
- Authorization: required (string)
X-AuthToken
/module
get all global modules
get all global modules
get /module
get all global modules
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: array of object
Items: ModuleInfoDRO
- id: required (integer)
- name: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /module
get all global modules
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- name: required (string)
- data: required (array of module.ModuleDataDRO)
Items: ModuleDataDRO
- type: required (one of TEXT, HTML, AMP)
type of the part. We support TEXT, HTML and AMP. AMP is a specific part type for dynamic mails (i.e. supported by gmail / gsuite)
- content: required (string)
- type: required (one of TEXT, HTML, AMP)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- name: required (string)
- data: required (array of module.ModuleDataDRO)
Items: ModuleDataDRO
- type: required (one of TEXT, HTML, AMP)
type of the part. We support TEXT, HTML and AMP. AMP is a specific part type for dynamic mails (i.e. supported by gmail / gsuite)
- content: required (string)
- type: required (one of TEXT, HTML, AMP)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
/maintenance
forcefully rebuilds the index for selections. This may require a lot of time.
get /maintenance/index/rebuild
forcefully rebuilds the index for selections. This may require a lot of time.
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
rebuild finished recently, no need to rebuild again.
HTTP status code 202
rebuild started
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 409
index cannot be rebuild, rebuild in progress
HTTP status code 423
index cannot be rebuild, locked.
/mailbox
list all available mailboxes
create new mailbox
get /mailbox
list all available mailboxes
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: array of object
Items: MailboxDRO
- id: required (integer)
- type: required (one of NONE, POP3, SIXXMAIL)
- address: required (string)
- bounce: required (boolean)
- list: required (integer)
- verp: required (boolean)
- credentials: required (object)
- uri: required (string)
- port: required (integer)
- username: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /mailbox
create new mailbox
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- type: required (one of NONE, POP3, SIXXMAIL)
- address: required (string)
- bounce: required (boolean)
- list: (integer)
- verp: required (boolean)
- credentials: (object)
- uri: required (string)
- port: required (integer)
- username: required (string)
- password: required (string)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- type: required (one of NONE, POP3, SIXXMAIL)
- address: required (string)
- bounce: required (boolean)
- list: required (integer)
- verp: required (boolean)
- credentials: required (object)
- uri: required (string)
- port: required (integer)
- username: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
get mailbox
update mailbox
delete mailbox
get /mailbox/{id}
get mailbox
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- type: required (one of NONE, POP3, SIXXMAIL)
- address: required (string)
- bounce: required (boolean)
- list: required (integer)
- verp: required (boolean)
- credentials: required (object)
- uri: required (string)
- port: required (integer)
- username: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
patch /mailbox/{id}
update mailbox
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- type: required (one of NONE, POP3, SIXXMAIL)
- address: required (string)
- bounce: required (boolean)
- list: (integer)
- verp: required (boolean)
- credentials: (object)
- uri: required (string)
- port: required (integer)
- username: required (string)
- password: required (string)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- type: required (one of NONE, POP3, SIXXMAIL)
- address: required (string)
- bounce: required (boolean)
- list: required (integer)
- verp: required (boolean)
- credentials: required (object)
- uri: required (string)
- port: required (integer)
- username: required (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
delete /mailbox/{id}
delete mailbox
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
list all available messages (by date, desc)
get /mailbox/{id}/message
list all available messages (by date, desc)
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: array of mailbox.AbstractMailboxMessage
Items: MailboxMessageListItem
- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- from: required (string)
- to: required (string)
- recipient: required (integer)
- subject: required (string)
- date: required (datetime)
- read: required (boolean)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
fetch & read message
delete message
get /mailbox/{id}/message/{messageid}
fetch & read message
URI Parameters
- id: required (string)
- messageid: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- from: required (string)
- to: required (string)
- recipient: required (integer)
- subject: required (string)
- date: required (datetime)
- read: required (boolean)
- text: required (string)
- html: required (string)
- attachments: required (array of string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
delete /mailbox/{id}/message/{messageid}
delete message
URI Parameters
- id: required (string)
- messageid: required (string)
Headers
- Authorization: required (string)
X-AuthToken
download part
get /mailbox/{id}/message/{part}
download part
URI Parameters
- id: required (string)
- part: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: description
Type: file download
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
/mailbox-labels
a label defines, how a specific mail is treated, if the label can be applied according to the given rules
fetch all labels
add label
get /mailbox-labels
fetch all labels
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: array of object
Items: MailboxLabelInfo
- id: required (integer)
- type: required (one of BOUNCE, INBOX)
- description: required (string)
- open: required (boolean)
- delete: required (boolean)
- forward: required (array of string)
- soft_bounce: required (boolean)
- hard_bounce: required (boolean)
- bounce: required (boolean)
- rules: required (array of mailbox.MailboxMatchRule)
Items: MailboxMatchRule
- expr: required (string)
- target: required (one of HEADER, SUBJECT, TEXT, HTML, BODY)
- icon: required (string)
- handler: (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
post /mailbox-labels
add label
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- description: required (string)
- open: required (boolean)
- delete: required (boolean)
- forward: required (array of string)
- soft_bounce: required (boolean)
- hard_bounce: required (boolean)
- bounce: required (boolean)
- type: required (one of BOUNCE, INBOX)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- type: required (one of BOUNCE, INBOX)
- description: required (string)
- open: required (boolean)
- delete: required (boolean)
- forward: required (array of string)
- soft_bounce: required (boolean)
- hard_bounce: required (boolean)
- bounce: required (boolean)
- rules: required (array of mailbox.MailboxMatchRule)
Items: MailboxMatchRule
- expr: required (string)
- target: required (one of HEADER, SUBJECT, TEXT, HTML, BODY)
- icon: required (string)
- handler: (string)
HTTP status code 400
bad request (i.e. syntax errors in patterns).
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
fetch label
update label
get /mailbox-labels/{id}
fetch label
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- type: required (one of BOUNCE, INBOX)
- description: required (string)
- open: required (boolean)
- delete: required (boolean)
- forward: required (array of string)
- soft_bounce: required (boolean)
- hard_bounce: required (boolean)
- bounce: required (boolean)
- rules: required (array of mailbox.MailboxMatchRule)
Items: MailboxMatchRule
- expr: required (string)
- target: required (one of HEADER, SUBJECT, TEXT, HTML, BODY)
- icon: required (string)
- handler: (string)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
patch /mailbox-labels/{id}
update label
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- description: required (string)
- open: required (boolean)
- delete: required (boolean)
- forward: required (array of string)
- soft_bounce: required (boolean)
- hard_bounce: required (boolean)
- bounce: required (boolean)
- type: required (one of BOUNCE, INBOX)
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (integer)
- type: required (one of BOUNCE, INBOX)
- description: required (string)
- open: required (boolean)
- delete: required (boolean)
- forward: required (array of string)
- soft_bounce: required (boolean)
- hard_bounce: required (boolean)
- bounce: required (boolean)
- rules: required (array of mailbox.MailboxMatchRule)
Items: MailboxMatchRule
- expr: required (string)
- target: required (one of HEADER, SUBJECT, TEXT, HTML, BODY)
- icon: required (string)
- handler: (string)
HTTP status code 400
bad request (i.e. syntax errors in patterns).
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
/checks
fetch available checks
get /checks
fetch available checks
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: array of object
Items: CheckInfo
- id: required (string)
- icon: (string)
- name: required (string)
- description: required (string)
- vendor: required (string)
- feeRequired: required (boolean)
- price: (number)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
fetch result of a check
get /checks/result/{id}
fetch result of a check
URI Parameters
- id: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: object
Properties- id: required (string - pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)
Universally Unique Identifier.
- checkId: required (string)
- timestamp: required (datetime)
- state: required (one of RUNNING, OK, WARNING, ERROR)
- score: (number)
- expired: required (boolean)
- results: required (array of check.CheckSingleResult)
Items: CheckSingleResult
- request: required (string)
- response: required (string)
- score: (number)
- result: required (one of RUNNING, OK, WARNING, ERROR)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
/pages
fetch all pages
get /pages
fetch all pages
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: array of object
Items: PageInfo
- name: required (string)
- label: required (string)
- type: required (page.PageType)
- active: required (boolean)
- list: required (page.ListInfo)
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
get page
create a new page
update a page
delete a page
get /pages/{pageName}
get page
URI Parameters
- pageName: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
Body
Media type: application/json
Type: page.PageInfo
Properties- html: required (string)
- location: (string)
Data type for resolveable URLs.
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
page does not exist
post /pages/{pageName}
create a new page
URI Parameters
- pageName: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- label: (string)
- html: required (string)
- type: required (one of FORM_DOI, FORM_UNSUB, STATIC)
type of the page
- active: required (boolean)
- list: required (integer)
- location: (string)
Data type for resolveable URLs.
HTTP status code 200
Body
Media type: application/json
Type: page.PageInfo
Properties- html: required (string)
- location: (string)
Data type for resolveable URLs.
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
patch /pages/{pageName}
update a page
URI Parameters
- pageName: required (string)
Headers
- Authorization: required (string)
X-AuthToken
Body
Media type: application/json
Type: object
Properties- label: (string)
- html: required (string)
- type: required (one of FORM_DOI, FORM_UNSUB, STATIC)
type of the page
- active: required (boolean)
- list: required (integer)
- location: (string)
Data type for resolveable URLs.
HTTP status code 200
Body
Media type: application/json
Type: page.PageInfo
Properties- html: required (string)
- location: (string)
Data type for resolveable URLs.
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
delete /pages/{pageName}
delete a page
URI Parameters
- pageName: required (string)
Headers
- Authorization: required (string)
X-AuthToken
HTTP status code 200
deleted.
HTTP status code 401
Authentication problem (JWT not set / expired)
Body
Media type: application/json
Type: object
Properties- id: required (number)
- description: required (string)
HTTP status code 403
Authentication valid, but permissions not suitable to access resource.
HTTP status code 404
not found, already deleted?
/dynamic/{pageName}
fetches a page
update a form