ReplyLayer Suppressions API
The suppressions API from ReplyLayer — 3 operation(s) for suppressions.
The suppressions API from ReplyLayer — 3 operation(s) for suppressions.
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/replylayer-ai:replylayer-ai-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:
description: 'The ReplyLayer REST API for AI agents — send, receive, read, and reply to email with built-in security scanning. Authenticate with an API key (`Authorization: Bearer rly_live_.`). This is the customer contract only; operator/admin endpoints and the session-cookie dashboard surface are not part of this spec.'
title: ReplyLayer Suppressions API
version: 1.0.0
servers:
- description: Production
url: https://api.replylayer.ai
security:
- BearerApiKey: []
tags:
- name: suppressions
paths:
/v1/suppressions:
get:
operationId: getV1Suppressions
parameters:
- in: query
name: all
required: false
schema:
type: boolean
- in: query
name: cursor
required: false
schema:
type: string
- in: query
name: limit
required: false
schema:
maximum: 500
minimum: 1
type: integer
- in: query
name: reason
required: false
schema:
enum:
- hard_bounce
- complaint
- manual
- unsubscribe
type: string
responses:
'200':
content:
application/json:
schema:
properties:
next_cursor:
type:
- string
- 'null'
suppressions:
items:
properties:
added_by_actor_id:
type:
- string
- 'null'
added_by_actor_type:
type:
- string
- 'null'
complaint_count:
type: number
created_at:
type: string
email:
type: string
latest_complaint_at:
type:
- string
- 'null'
pattern_type:
enum:
- email
- domain
type: string
reason:
type: string
source:
type: string
required:
- email
- reason
- source
- created_at
type: object
type: array
required:
- suppressions
type: object
description: Success
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Validation error
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Missing or invalid API key
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: 'Forbidden (code: ACCOUNT_SUSPENDED, EMAIL_NOT_VERIFIED)'
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: 'Rate limited (code: RATE_LIMITED)'
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: 'Internal error (code: INTERNAL_ERROR)'
summary: List suppressed recipients
tags:
- suppressions
post:
operationId: postV1Suppressions
requestBody:
content:
application/json:
schema:
additionalProperties: false
properties:
email:
minLength: 1
type: string
required:
- email
type: object
required: true
responses:
'200':
content:
application/json:
schema:
properties:
added_by_actor_id:
type:
- string
- 'null'
added_by_actor_type:
type:
- string
- 'null'
already_existed:
type: boolean
created_at:
type:
- string
- 'null'
email:
type: string
pattern_type:
enum:
- email
- domain
type: string
reason:
type: string
source:
type: string
required:
- email
- reason
- source
- created_at
- already_existed
type: object
description: Success
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Validation error
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Missing or invalid API key
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: 'Forbidden (code: ACCOUNT_SUSPENDED, EMAIL_NOT_VERIFIED)'
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Rate limited
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: 'Internal error (code: INTERNAL_ERROR)'
summary: Suppress a recipient
tags:
- suppressions
/v1/suppressions/bulk:
post:
operationId: postV1SuppressionsBulk
requestBody:
content:
application/json:
schema:
additionalProperties: false
properties:
emails:
items:
maxLength: 254
minLength: 1
type: string
maxItems: 1000
minItems: 1
type: array
required:
- emails
type: object
required: true
responses:
'200':
content:
application/json:
schema:
properties:
added:
items:
properties:
created_at:
type: string
email:
type: string
pattern_type:
enum:
- email
- domain
type: string
required:
- email
- created_at
type: object
type: array
already_existed:
items:
type: string
type: array
counts:
properties:
added:
type: integer
already_existed:
type: integer
invalid:
type: integer
total:
type: integer
required:
- added
- already_existed
- invalid
- total
type: object
invalid:
items:
properties:
email:
type: string
reason:
type: string
required:
- email
- reason
type: object
type: array
required:
- added
- already_existed
- invalid
- counts
type: object
description: Success
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Validation error
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Missing or invalid API key
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: 'Forbidden (code: ACCOUNT_SUSPENDED, EMAIL_NOT_VERIFIED)'
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Rate limited
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: 'Internal error (code: INTERNAL_ERROR)'
summary: Bulk-suppress recipients
tags:
- suppressions
/v1/suppressions/{email}:
delete:
operationId: deleteV1SuppressionsByEmail
parameters:
- in: path
name: email
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
properties:
created_at:
type: string
email:
type: string
pattern_type:
enum:
- email
- domain
type: string
reason:
type: string
source:
type: string
status:
type: string
required:
- status
- email
type: object
description: Success
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: 'Validation error (code: VALIDATION_ERROR)'
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: 'Missing or invalid API key (code: UNAUTHORIZED)'
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Not found
'409':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Conflict
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: 'Rate limited (code: RATE_LIMITED)'
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: 'Internal error (code: INTERNAL_ERROR)'
summary: Remove a suppression (admin)
tags:
- suppressions
components:
schemas:
Error:
description: Standard error envelope. `code` is a stable machine-readable string.
properties:
code:
type: string
details:
additionalProperties: true
type: object
error:
type: string
required:
- error
- code
type: object
securitySchemes:
BearerApiKey:
description: 'ReplyLayer API key: `Authorization: Bearer rly_live_<public_id>.<secret>`.'
scheme: bearer
type: http