SendSeven GmbH Double Opt-In API
Manage double opt-in confirmation flows for email and messaging subscriptions.
Manage double opt-in confirmation flows for email and messaging subscriptions.
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/sendseven-com:sendseven-com-double-opt-in-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: SendSeven Double Opt-In API
description: Unified messaging API for WhatsApp, Telegram, SMS, and more
version: '20261124.1227'
servers:
- url: https://api.sendseven.com
description: Production
tags:
- name: Double Opt-In
description: Manage double opt-in confirmation flows for email and messaging subscriptions.
paths:
/api/v1/double-opt-in/send:
post:
tags:
- Double Opt-In
summary: Send Confirmation Email
description: 'Send double opt-in confirmation email to contact
This endpoint:
1. Creates or finds contact by email
2. Creates pending subscription record
3. Generates secure confirmation token
4. Sends confirmation email with link
**GDPR Compliance:** IP address and user agent are stored for audit trail
**Rate Limiting:** Maximum 3 confirmation emails per email per hour (TODO: implement)
Args:
request_data: Email confirmation request details
tenant_id: Tenant ID from auth token
Returns:
Confirmation details including token ID and expiry time
Raises:
HTTPException 400: If email sending fails
HTTPException 500: If internal error occurs
**🔐 Required Scopes:** `email:update`'
operationId: send_confirmation_email_api_v1_double_opt_in_send_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DoubleOptInSendRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DoubleOptInSendResponse'
'400':
description: No list given, a list is not in this workspace, or no email sender is configured
'500':
description: The confirmation email could not be sent (generic message, no internal detail)
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/v1/double-opt-in/resend:
post:
tags:
- Double Opt-In
summary: Resend Confirmation Email
description: 'Resend confirmation email for pending subscription
If the original token has expired, a new token will be generated.
If the original token is still valid, the same confirmation link will be resent.
Args:
request_data: Email address to resend confirmation to
tenant_id: Tenant ID from auth token
Returns:
Success message
Raises:
HTTPException 404: If no pending confirmation found for this email
HTTPException 400: If resend fails
**🔐 Required Scopes:** `email:update`'
operationId: resend_confirmation_email_api_v1_double_opt_in_resend_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DoubleOptInResendRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: A list is not in this workspace, or no email sender is configured
'404':
description: No pending confirmation for this email address
'500':
description: The confirmation email could not be resent (generic message, no internal detail)
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/v1/double-opt-in/pending:
get:
tags:
- Double Opt-In
summary: Get Pending Confirmations
description: 'Get list of pending email confirmations
Shows all contacts awaiting email confirmation for this tenant.
Useful for admin dashboard to track conversion rates.
Args:
limit: Maximum number of results (default 100, max 1000)
offset: Pagination offset (default 0)
tenant_id: Tenant ID from auth token
Returns:
List of pending confirmations with pagination info
**🔐 Required Scopes:** `email:read`'
operationId: get_pending_confirmations_api_v1_double_opt_in_pending_get
security:
- HTTPBearer: []
parameters:
- name: limit
in: query
required: false
schema:
type: integer
default: 100
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
default: 0
title: Offset
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PendingConfirmationListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
PendingConfirmation:
properties:
token_id:
type: string
title: Token Id
description: Token ID
email:
type: string
title: Email
description: Email address awaiting confirmation
sent_at:
type: string
format: date-time
title: Sent At
description: When confirmation email was sent
expires_at:
type: string
format: date-time
title: Expires At
description: When token expires
list_name:
anyOf:
- type: string
- type: 'null'
title: List Name
description: List name if subscribing to specific list
category:
anyOf:
- type: string
- type: 'null'
title: Category
description: Subscription category
is_expired:
type: boolean
title: Is Expired
description: Whether token has expired
type: object
required:
- token_id
- email
- sent_at
- expires_at
- is_expired
title: PendingConfirmation
description: Details of a pending email confirmation
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
DoubleOptInSendRequest:
properties:
email:
type: string
format: email
title: Email
description: Email address to confirm
list_id:
anyOf:
- type: string
- type: 'null'
title: List Id
description: Optional list ID to subscribe to
category:
anyOf:
- type: string
- type: 'null'
title: Category
description: Subscription category (newsletter, promotions, updates)
default: newsletter
ip_address:
anyOf:
- type: string
- type: 'null'
title: Ip Address
description: IP address of requester for audit trail
user_agent:
anyOf:
- type: string
- type: 'null'
title: User Agent
description: User agent for audit trail
type: object
required:
- email
title: DoubleOptInSendRequest
description: Request to send double opt-in confirmation email
DoubleOptInResendRequest:
properties:
email:
type: string
format: email
title: Email
description: Email address to resend confirmation to
type: object
required:
- email
title: DoubleOptInResendRequest
description: Request to resend confirmation email
PendingConfirmationListResponse:
properties:
pending_confirmations:
items:
$ref: '#/components/schemas/PendingConfirmation'
type: array
title: Pending Confirmations
description: List of pending confirmations
total:
type: integer
title: Total
description: Total number of pending confirmations
limit:
type: integer
title: Limit
description: Items per page
offset:
type: integer
title: Offset
description: Current offset
type: object
required:
- pending_confirmations
- total
- limit
- offset
title: PendingConfirmationListResponse
description: List of pending confirmations with pagination
DoubleOptInSendResponse:
properties:
token_id:
type: string
title: Token Id
description: Unique token ID
message:
type: string
title: Message
description: Success message
expires_at:
type: string
format: date-time
title: Expires At
description: When the token expires
email:
type: string
title: Email
description: Email address confirmation was sent to
type: object
required:
- token_id
- message
- expires_at
- email
title: DoubleOptInSendResponse
description: Response after sending confirmation email
securitySchemes:
HTTPBearer:
type: http
scheme: bearer