Mailcoach Suppressions API
Globally suppressed email addresses
Globally suppressed email addresses
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/mailcoach-app:mailcoach-app-suppressions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Mailcoach Suppressions API
description: 'REST API for Laravel Mailcoach — send email campaigns, manage subscribers,
and handle transactional mails.
Authentication is via Bearer token (Laravel Sanctum).
All collection endpoints return paginated responses using the standard
Laravel pagination envelope (`data`, `links`, `meta`).
Filtering uses the `?filter[key]=value` convention
(spatie/laravel-query-builder). Sorting uses `?sort=field` (ascending)
or `?sort=-field` (descending).'
version: 1.0.0
contact:
name: Spatie
url: https://mailcoach.app
servers:
- url: '{baseUrl}/api'
description: Mailcoach API
variables:
baseUrl:
default: https://your-app.com
description: The base URL of your Mailcoach installation
security:
- bearerAuth: []
tags:
- name: Suppressions
description: Globally suppressed email addresses
paths:
/suppressions:
get:
operationId: listSuppressions
summary: List all suppressions
tags:
- Suppressions
parameters:
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/per_page'
- name: sort
in: query
description: 'Sort field. Allowed: `created_at`, `-created_at`.'
schema:
type: string
enum:
- created_at
- -created_at
- name: filter[search]
in: query
description: Fuzzy search on email address
schema:
type: string
- name: filter[reason]
in: query
description: Filter by exact suppression reason
schema:
type: string
responses:
'200':
description: Paginated list of suppressions
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Suppression'
links:
$ref: '#/components/schemas/PaginationLinks'
meta:
$ref: '#/components/schemas/PaginationMeta'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
post:
operationId: createSuppression
summary: Suppress an email address
tags:
- Suppressions
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SuppressionRequest'
responses:
'201':
description: Suppression created
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Suppression'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'422':
$ref: '#/components/responses/UnprocessableEntity'
/suppressions/{suppression}:
get:
operationId: showSuppression
summary: Get a suppression
tags:
- Suppressions
parameters:
- name: suppression
in: path
required: true
description: Suppression UUID
schema:
type: string
format: uuid
responses:
'200':
description: Suppression details
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Suppression'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
delete:
operationId: deleteSuppression
summary: Remove a suppression
tags:
- Suppressions
parameters:
- name: suppression
in: path
required: true
description: Suppression UUID
schema:
type: string
format: uuid
responses:
'204':
$ref: '#/components/responses/NoContent'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
components:
responses:
Forbidden:
description: Forbidden — insufficient permissions
UnprocessableEntity:
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationError'
Unauthorized:
description: Unauthenticated — missing or invalid bearer token
NoContent:
description: No content — action completed successfully
NotFound:
description: Resource not found
schemas:
ValidationError:
type: object
properties:
message:
type: string
example: The given data was invalid.
errors:
type: object
additionalProperties:
type: array
items:
type: string
required:
- message
- errors
Timestamp:
type: string
format: date-time
example: '2026-01-15T12:00:00.000000Z'
SuppressionRequest:
type: object
required:
- email
properties:
email:
type: string
format: email
example: suppress@example.com
PaginationLinks:
type: object
properties:
first:
type: string
format: uri
example: https://your-app.com/api/templates?page=1
last:
type: string
format: uri
example: https://your-app.com/api/templates?page=5
prev:
type:
- string
- 'null'
format: uri
next:
type:
- string
- 'null'
format: uri
PaginationMeta:
type: object
properties:
current_page:
type: integer
example: 1
from:
type:
- integer
- 'null'
example: 1
last_page:
type: integer
example: 5
links:
type: array
items:
type: object
properties:
url:
type:
- string
- 'null'
format: uri
label:
type: string
active:
type: boolean
path:
type: string
format: uri
per_page:
type: integer
example: 15
to:
type:
- integer
- 'null'
example: 15
total:
type: integer
example: 73
Uuid:
type: string
format: uuid
example: 00000000-0000-0000-0000-000000000000
Suppression:
type: object
properties:
uuid:
$ref: '#/components/schemas/Uuid'
email:
type: string
format: email
example: suppressed@example.com
reason:
type:
- string
- 'null'
description: Reason for suppression (e.g. bounce, complaint, manual)
created_at:
$ref: '#/components/schemas/Timestamp'
updated_at:
$ref: '#/components/schemas/Timestamp'
parameters:
page:
name: page
in: query
description: Page number
schema:
type: integer
minimum: 1
default: 1
per_page:
name: per_page
in: query
description: Number of items per page
schema:
type: integer
minimum: 1
maximum: 100
default: 15
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Laravel Sanctum API token