SendSeven GmbH Contact Verification API
The Contact Verification API from SendSeven GmbH — 9 operation(s) for contact verification.
The Contact Verification API from SendSeven GmbH — 9 operation(s) for contact verification.
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-contact-verification-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 Contact Verification API
description: Unified messaging API for WhatsApp, Telegram, SMS, and more
version: '20261124.1227'
servers:
- url: https://api.sendseven.com
description: Production
tags:
- name: Contact Verification
paths:
/api/v1/verifications:
post:
tags:
- Contact Verification
summary: Create Verification
description: 'Start a contact verification
Sends a 6-digit one-time code (method `email`, `sms` or `whatsapp`) or
opens a PIN check (method `pin`, nothing is sent). Pass exactly one of
`contact_id` or `identifier`.
The code always goes to a contact method **on record**: with `contact_id`
to that contact''s matching method (verified first, then primary, then
newest); with an `identifier` that belongs to a contact, to that stored
method. An identifier that is not on record receives the code itself
(proof of possession) and is attached as a verified method on approval.
The response never contains the destination.
Codes are valid for 10 minutes and allow 5 attempts. Each code sent is
billed as one message on its channel.
**PIN self-unlock** (`purpose: "pin_unlock"`): when a contact''s PIN is
locked until reset (3 lockouts within 24 hours), send a code to one of
the contact''s **verified** email addresses or phone numbers. Use method
`email`, `sms`, `whatsapp` or `pin_unlock_auto` (picks email, then SMS,
then WhatsApp). An `identifier` only selects the contact; the code is
never sent to it. Approving the code unlocks the PIN and fires
`contact_pin.self_unlocked`; it does not verify identity. Errors: 409
`pin_not_locked`, 409 `no_verified_method`.
Errors: 404 `contact_not_found` / `conversation_not_found`; 422
`invalid_request`, `invalid_identifier`, `method_identifier_mismatch`,
`method_not_enabled`, `no_method_on_record`, `destination_not_allowed`
(with `reason`: `country_not_allowed`, `not_mobile` or `invalid_number`;
SMS codes go only to mobile numbers in your allowed countries within the
EU/EEA, WhatsApp codes to numbers in your allowed countries);
402 `insufficient_sms_balance`;
409 `no_whatsapp_auth_template` / `channel_unavailable` (a `channel_id`
that is disconnected or blocked by Meta is refused before anything is
sent, with `channel_error` `CHANNEL_DISCONNECTED` / `CHANNEL_UNAVAILABLE`,
or `CHANNEL_TEMPLATES_BLOCKED` for a WhatsApp number whose account has a
Meta payment issue (codes are templates), plus `reason` and
`reconnect_required`); 429 `rate_limited`;
502 `send_failed` (the claim is `failed`).
**Required Scopes:** `verifications:create`'
operationId: create_verification_api_v1_verifications_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VerificationCreate'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/VerificationResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/v1/verifications/{verification_id}/check:
post:
tags:
- Contact Verification
summary: Check Verification
description: 'Check a verification code or PIN
Returns `approved`, `pending` (wrong code, with fewer `attempts_remaining`),
`expired` or `locked` (after the 5th wrong attempt). Checking is free.
Send `code` for email/SMS/WhatsApp verifications and `pin` for PIN checks.
**Required Scopes:** `verifications:create`'
operationId: check_verification_api_v1_verifications__verification_id__check_post
security:
- HTTPBearer: []
parameters:
- name: verification_id
in: path
required: true
schema:
type: string
title: Verification Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/VerificationCheck'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/VerificationCheckResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/verifications/{verification_id}/resend:
post:
tags:
- Contact Verification
summary: Resend Verification
description: 'Resend a new code for the same verification
Allowed 60 seconds after the last send, at most 5 times. A resend issues
a new code (the old one stops working) and restarts the 10-minute
validity.
Errors: 429 `resend_too_soon` (with `retry_after`), 409
`resend_limit_reached`, 409 `not_pending`, 429 `rate_limited`, 422
`destination_not_allowed` (with `reason`, when the allowed countries
changed since the code was first sent).
**Required Scopes:** `verifications:create`'
operationId: resend_verification_api_v1_verifications__verification_id__resend_post
security:
- HTTPBearer: []
parameters:
- name: verification_id
in: path
required: true
schema:
type: string
title: Verification Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/VerificationResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/verifications/{verification_id}/cancel:
post:
tags:
- Contact Verification
summary: Cancel Verification
description: 'Cancel a pending verification
**Required Scopes:** `verifications:create`'
operationId: cancel_verification_api_v1_verifications__verification_id__cancel_post
security:
- HTTPBearer: []
parameters:
- name: verification_id
in: path
required: true
schema:
type: string
title: Verification Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/VerificationResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/verifications/{verification_id}:
get:
tags:
- Contact Verification
summary: Get Verification
description: 'Get a verification''s status
**Required Scopes:** `verifications:read`'
operationId: get_verification_api_v1_verifications__verification_id__get
security:
- HTTPBearer: []
parameters:
- name: verification_id
in: path
required: true
schema:
type: string
title: Verification Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/VerificationResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/verification-settings:
get:
tags:
- Contact Verification
summary: Get Verification Settings
description: 'Get contact verification settings
`enabled_methods` defaults to `["email"]`. `allowed_countries` is the
effective list of destination countries for SMS and WhatsApp codes (the
workspace country unless you set a list); `sms_country_cap` lists the
countries SMS codes can ever reach (EU/EEA) and `eu_countries` the EU
member states.
**Required Scopes:** `settings:read`'
operationId: get_verification_settings_api_v1_verification_settings_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/VerificationSettingsResponse'
security:
- HTTPBearer: []
put:
tags:
- Contact Verification
summary: Update Verification Settings
description: 'Update contact verification settings
Fields you omit are kept. `email_sender` is `generic` or an active mailbox id; `sms_sender` is `generic` or
an active channel id of that type. `allowed_countries` takes ISO 3166 alpha-2 codes (`null` resets to
the workspace country); codes outside the EU/EEA only apply to WhatsApp.
`agent_new_number_daily_cap` (0-200, `null` = default 10, 0 = none) limits how many codes the AI
agent may send per day to phone numbers that are not on file. Errors: 422
`invalid_email_sender`, `invalid_channel`, `invalid_template`, `invalid_enabled_methods`,
`invalid_allowed_countries`, `invalid_agent_new_number_daily_cap`.
**Required Scopes:** `verification_settings:update`'
operationId: update_verification_settings_api_v1_verification_settings_put
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VerificationSettingsUpdate'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/VerificationSettingsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/v1/verification-settings/whatsapp-template:
post:
tags:
- Contact Verification
summary: Create Whatsapp Auth Template
description: 'Create a WhatsApp authentication template for verification codes
Submits a compliant AUTHENTICATION template (copy-code button, security
recommendation, 10-minute expiry) to Meta for the WhatsApp channel and
stores it in the settings. Meta reviews it; codes can be sent once it is
approved.
**Required Scopes:** `verification_settings:update`'
operationId: create_whatsapp_auth_template_api_v1_verification_settings_whatsapp_template_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/WhatsAppAuthTemplateCreate'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WhatsAppAuthTemplateResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/v1/contacts/{contact_id}/pin:
get:
tags:
- Contact Verification
summary: Get Contact Pin Status
description: 'Get a contact''s PIN status (never the PIN itself)
Returns `{is_set, locked, locked_until, escalated, set_at}`. After 5 wrong
PINs in a row the PIN is locked for 1 hour (`locked_until`) and unlocks
automatically; the 3rd lock within 24 hours sets `escalated` and the PIN
stays locked until it is reset.
**Required Scopes:** `contact_pins:manage` or `contacts:read`'
operationId: get_contact_pin_status_api_v1_contacts__contact_id__pin_get
security:
- HTTPBearer: []
parameters:
- name: contact_id
in: path
required: true
schema:
type: string
title: Contact Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ContactPinStatus'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
put:
tags:
- Contact Verification
summary: Set Contact Pin
description: 'Set or replace a contact''s identification PIN
4 to 12 digits. Replacing a PIN also clears a lockout. Error: 422 `invalid_pin`.
**Required Scopes:** `contact_pins:manage`'
operationId: set_contact_pin_api_v1_contacts__contact_id__pin_put
security:
- HTTPBearer: []
parameters:
- name: contact_id
in: path
required: true
schema:
type: string
title: Contact Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ContactPinSet'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ContactPinActionResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Contact Verification
summary: Delete Contact Pin
description: 'Remove a contact''s PIN
Error: 404 `pin_not_set`.
**Required Scopes:** `contact_pins:manage`'
operationId: delete_contact_pin_api_v1_contacts__contact_id__pin_delete
security:
- HTTPBearer: []
parameters:
- name: contact_id
in: path
required: true
schema:
type: string
title: Contact Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ContactPinActionResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/contacts/{contact_id}/pin/reset-lockout:
post:
tags:
- Contact Verification
summary: Reset Contact Pin Lockout
description: 'Reset a PIN lockout (temporary or escalated)
Clears the lock, the failed-attempt counter and the 24-hour lockout history.
Error: 404 `pin_not_set`.
**Required Scopes:** `contact_pins:manage`'
operationId: reset_contact_pin_lockout_api_v1_contacts__contact_id__pin_reset_lockout_post
security:
- HTTPBearer: []
parameters:
- name: contact_id
in: path
required: true
schema:
type: string
title: Contact Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ContactPinActionResponse'
'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
ContactPinStatus:
properties:
is_set:
type: boolean
title: Is Set
locked:
type: boolean
title: Locked
description: True while PIN checks are refused (temporary lock or escalated)
locked_until:
anyOf:
- type: string
- type: 'null'
title: Locked Until
description: When a temporary lock ends automatically (null when not locked or escalated)
escalated:
type: boolean
title: Escalated
description: Locked 3 times within 24 hours; stays locked until reset
default: false
set_at:
anyOf:
- type: string
- type: 'null'
title: Set At
type: object
required:
- is_set
- locked
title: ContactPinStatus
WhatsAppAuthTemplateCreate:
properties:
channel_id:
anyOf:
- type: string
maxLength: 36
- type: 'null'
title: Channel Id
description: WhatsApp channel (defaults to the configured one)
language:
anyOf:
- type: string
maxLength: 10
- type: 'null'
title: Language
description: 'Template language code. Optional: when omitted it defaults to the workspace language, else the creating user''s app language, else ''en''.'
additionalProperties: false
type: object
title: WhatsAppAuthTemplateCreate
VerificationCheck:
properties:
code:
anyOf:
- type: string
maxLength: 32
- type: 'null'
title: Code
description: The 6-digit code (OTP methods)
pin:
anyOf:
- type: string
maxLength: 32
- type: 'null'
title: Pin
description: The PIN (method 'pin')
additionalProperties: false
type: object
title: VerificationCheck
WhatsAppAuthTemplateResponse:
properties:
whatsapp_template_id:
anyOf:
- type: string
- type: 'null'
title: Whatsapp Template Id
description: Stored in settings.whatsapp_template_id
template_id:
anyOf:
- type: string
- type: 'null'
title: Template Id
name:
anyOf:
- type: string
- type: 'null'
title: Name
status:
anyOf:
- type: string
- type: 'null'
title: Status
type: object
title: WhatsAppAuthTemplateResponse
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
VerificationSettingsResponse:
properties:
email_sender:
type: string
title: Email Sender
description: '''generic'' or an email mailbox id'
sms_sender:
type: string
title: Sms Sender
description: '''generic'' or an SMS channel id'
whatsapp_channel_id:
anyOf:
- type: string
- type: 'null'
title: Whatsapp Channel Id
whatsapp_template_id:
anyOf:
- type: string
- type: 'null'
title: Whatsapp Template Id
whatsapp_template_name:
anyOf:
- type: string
- type: 'null'
title: Whatsapp Template Name
whatsapp_template_status:
anyOf:
- type: string
- type: 'null'
title: Whatsapp Template Status
enabled_methods:
items:
type: string
type: array
title: Enabled Methods
allowed_countries:
items:
type: string
type: array
title: Allowed Countries
description: Effective destination countries (ISO 3166 alpha-2) for SMS and WhatsApp codes. Defaults to the workspace country.
allowed_countries_is_default:
type: boolean
title: Allowed Countries Is Default
description: True when no custom list is stored
default: true
sms_country_cap:
items:
type: string
type: array
title: Sms Country Cap
description: Countries SMS codes can ever be sent to (EU/EEA)
eu_countries:
items:
type: string
type: array
title: Eu Countries
description: EU member states (for 'Add all EU')
agent_new_number_daily_cap:
type: integer
title: Agent New Number Daily Cap
description: Codes the AI agent may send per day to phone numbers that are not on file (0 = none). Default 10.
default: 10
agent_new_number_daily_cap_is_default:
type: boolean
title: Agent New Number Daily Cap Is Default
description: True when no custom value is stored
default: true
updated_at:
anyOf:
- type: string
- type: 'null'
title: Updated At
type: object
required:
- email_sender
- sms_sender
- enabled_methods
title: VerificationSettingsResponse
VerificationSettingsUpdate:
properties:
email_sender:
anyOf:
- type: string
maxLength: 36
- type: 'null'
title: Email Sender
sms_sender:
anyOf:
- type: string
maxLength: 36
- type: 'null'
title: Sms Sender
whatsapp_channel_id:
anyOf:
- type: string
maxLength: 36
- type: 'null'
title: Whatsapp Channel Id
whatsapp_template_id:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Whatsapp Template Id
enabled_methods:
anyOf:
- items:
type: string
enum:
- email
- sms
- whatsapp
- pin
type: array
- type: 'null'
title: Enabled Methods
allowed_countries:
anyOf:
- items:
type: string
type: array
maxItems: 300
- type: 'null'
title: Allowed Countries
description: ISO 3166 alpha-2 codes allowed for SMS / WhatsApp codes; null resets to the workspace country. SMS is additionally limited to EU/EEA countries.
agent_new_number_daily_cap:
anyOf:
- type: integer
maximum: 200.0
minimum: 0.0
- type: 'null'
title: Agent New Number Daily Cap
description: Codes the AI agent may send per day to phone numbers not on file (0-200, 0 = none); null resets to the default of 10. The limit of one per conversation stays fixed.
additionalProperties: false
type: object
title: VerificationSettingsUpdate
VerificationResponse:
properties:
id:
type: string
title: Id
status:
type: string
title: Status
description: pending, approved, failed, expired, locked or cancelled
method:
type: string
title: Method
purpose:
type: string
title: Purpose
description: identity or pin_unlock
default: identity
expires_at:
anyOf:
- type: string
- type: 'null'
title: Expires At
resend_available_at:
anyOf:
- type: string
- type: 'null'
title: Resend Available At
contact_id:
anyOf:
- type: string
- type: 'null'
title: Contact Id
attempts_remaining:
type: integer
title: Attempts Remaining
default: 0
resend_count:
type: integer
title: Resend Count
default: 0
conversation_id:
anyOf:
- type: string
- type: 'null'
title: Conversation Id
source:
anyOf:
- type: string
- type: 'null'
title: Source
approved_at:
anyOf:
- type: string
- type: 'null'
title: Approved At
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
type: object
required:
- id
- status
- method
title: VerificationResponse
ContactPinSet:
properties:
pin:
type: string
maxLength: 12
minLength: 4
title: Pin
description: 4 to 12 digits
additionalProperties: false
type: object
required:
- pin
title: ContactPinSet
VerificationIdentifier:
properties:
type:
type: string
enum:
- email
- phone
- whatsapp
title: Type
description: Identifier type
value:
type: string
maxLength: 320
minLength: 1
title: Value
description: Email address or phone number
type: object
required:
- type
- value
title: VerificationIdentifier
VerificationCreate:
properties:
contact_id:
anyOf:
- type: string
maxLength: 36
- type: 'null'
title: Contact Id
description: Contact to verify (exactly one of contact_id / identifier)
identifier:
anyOf:
- $ref: '#/components/schemas/VerificationIdentifier'
- type: 'null'
description: Identifier the person claims (exactly one of contact_id / identifier)
method:
type: string
enum:
- email
- sms
- whatsapp
- pin
- pin_unlock_auto
title: Method
description: '''pin_unlock_auto'' (only with purpose ''pin_unlock'') lets SendSeven pick the contact''s verified email or phone number'
purpose:
type: string
enum:
- identity
- pin_unlock
title: Purpose
description: '''identity'' verifies the person. ''pin_unlock'' sends a code to one of the contact''s verified email addresses or phone numbers; approving it unlocks a PIN that is locked until reset (it does not verify identity)'
default: identity
conversation_id:
anyOf:
- type: string
maxLength: 36
- type: 'null'
title: Conversation Id
description: Link the result to this conversation
sender:
anyOf:
- type: string
enum:
- tenant
- generic
- type: 'null'
title: Sender
description: Override the configured sender for email/SMS
channel_id:
anyOf:
- type: string
maxLength: 36
- type: 'null'
title: Channel Id
description: Sending channel when sender is 'tenant'
locale:
anyOf:
- type: string
maxLength: 10
- type: 'null'
title: Locale
description: Language of the code message, e.g. 'de'
additionalProperties: false
type: object
required:
- method
title: VerificationCreate
VerificationCheckResponse:
properties:
id:
type: string
title: Id
status:
type: string
title: Status
description: approved, pending, expired or locked
attempts_remaining:
type: integer
title: Attempts Remaining
contact_id:
anyOf:
- type: string
- type: 'null'
title: Contact Id
type: object
required:
- id
- status
- attempts_remaining
title: VerificationCheckResponse
ContactPinActionResponse:
properties:
success:
type: boolean
title: Success
default: true
id:
type: string
title: Id
type: object
required:
- id
title: ContactPinActionResponse
securitySchemes:
HTTPBearer:
type: http
scheme: bearer