openapi: 3.2.0
info:
title: Mapp Engage public Blacklist API
version: '1'
description: 'Mapp Engage REST API (REST 2.0, incremental version v19). Assembled verbatim from the per-operation OpenAPI fragments Mapp publishes on each endpoint page of https://docs.mapp.com/apidocs/. The base URL is tenant-specific: take your Mapp Engage login host and append /api/rest/v19.'
contact:
name: Mapp Technical Support
url: https://mapp.com/tech-support/
servers:
- url: /api/rest/v19
security:
- basicAuth: []
tags:
- name: Blacklist
paths:
/blacklist/createGroupEntries:
post:
tags:
- Blacklist
summary: Create group blacklist entries
description: 'Adds new entries (email, emailDomain or mobileNumber) to the group blacklist.
Request body example:
[{
"type": "EMAIL",
"pattern": "test@test.com"
}]'
operationId: createGroupEntries
parameters:
- name: groupId
in: query
description: ID of the group
required: true
schema:
type: integer
format: int64
responses:
'200':
description: 'Example response: [' operationId: createGroupEntriesHashed parameters: - name: groupId in: query description: The group ID. required: true schema: type: integer format: int64 - name: hashed in: query description: Hashing algorithm used to hash given entries. Either 'clear-text' or 'md5' required: true schema: type: string responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/CreateResult' application/xml: schema: $ref: '#/components/schemas/CreateResult' '400': description: '' requestBody: content: application/json: schema: type: array items: $ref: '#/components/schemas/BlacklistEntry' /blacklist/createSystemEntriesHashed: post: tags: - Blacklist summary: Create hashed system blacklist entries description: 'Adds new entries (email, email domain, mobile number, or mobile app alias) to the system blacklist. Entries can be hashed using md5hashgenerator.
{
"type": "EMAIL",
"pattern":"6a4b6cb2045fd55f706eaebd6ab5d4f7"
},
{
"type": "EMAIL",
"pattern":"0dbfb46341bc3d195db23e4015b20847"
}
]
[' operationId: createSystemEntriesHashed parameters: - name: hashed in: query description: the hashing algorithm used to hash given entries. Either 'clear-text' or 'md5' required: true schema: type: string responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/CreateResult' application/xml: schema: $ref: '#/components/schemas/CreateResult' '400': description: '' requestBody: content: application/json: schema: type: array items: $ref: '#/components/schemas/BlacklistEntry' /blacklist/createSystemEntries: post: tags: - Blacklist summary: Create system blacklist entries description: 'Adds new entries (email, email domain or mobile number) to the system blacklist.
{
"type": "EMAIL",
"pattern":"6a4b6cb2045fd55f706eaebd6ab5d4f7"
},
{
"type": "EMAIL",
"pattern":"0dbfb46341bc3d195db23e4015b20847"
}
]
[{
"type": "EMAIL",
"pattern": "test@test.com"
}]
[{
"type": "PHONE_NUMBER",
"pattern": "336789012345"
}]'
operationId: createSystemEntries
responses:
'200':
description: 'Example response: [{
"type": "EMAIL",
"pattern": "test@test.com"
}]'
operationId: deleteGroupEntries
parameters:
- name: groupId
in: query
description: ID of the group.
required: true
schema:
type: integer
format: int64
responses:
'200':
description: 'Example response: [{
"type": "EMAIL",
"pattern": "test@test.com"
}]'
operationId: deleteSystemEntries
responses:
'200':
description: 'Example response: