Vicem Voiceprints API
Consented contact voiceprints (D-0030, D-0033).
Consented contact voiceprints (D-0030, D-0033).
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/vicem-ai:vicem-ai-voiceprints-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: Vicem Voiceprints API
version: 7c4384d
description: 'The HTTP API behind the Vicem owner app, the public profile pages and provider webhooks.
Generated at runtime from the zod route table in `packages/api-contract` (the same schemas the
server validates requests and responses with), so this document cannot drift from the code.
**Auth.** Owner routes take an Identity Platform ID token: `Authorization: Bearer `.
Personal API keys (`vk_…`, Settings › More › Connect other apps) use the same header on their routes.
Public routes need nothing and are rate limited per IP (429 when over). Webhooks are verified by provider signature.
**Errors.** Every error uses one envelope: `{"error": {"code", "message", "lang?", "details?"}}`.
`lang` names the language `message` is written in for people; with no `lang`, `message` is a log line:
branch on `code`, never on `message`. Validation failures are 400 with `details` listing each failing path.
**Health.** `GET /healthz` reports version, active fakes and the voice heartbeat age; `GET /readyz` is 200 while the instance can serve, else 503.'
servers:
- url: https://api.vicem.ai
tags:
- name: Voiceprints
description: Consented contact voiceprints (D-0030, D-0033).
paths:
/v1/voiceprints:
get:
operationId: listVoiceprints
summary: List voiceprints
tags:
- Voiceprints
security:
- ownerBearer: []
x-vicem-auth: owner
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/VoiceprintList'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/InternalError'
/v1/contacts/{id}/voiceprint:
post:
operationId: setVoiceprint
summary: Set voiceprint
tags:
- Voiceprints
security:
- ownerBearer: []
x-vicem-auth: owner
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SetVoiceprintReq'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/SetVoiceprintRes'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'413':
$ref: '#/components/responses/PayloadTooLarge'
'500':
$ref: '#/components/responses/InternalError'
components:
schemas:
Voiceprint:
type: object
properties:
contactId:
$ref: '#/components/schemas/Id'
state:
$ref: '#/components/schemas/VoiceprintState'
source:
anyOf:
- type: string
enum:
- auto
- owner
- type: 'null'
samples:
type: integer
minimum: 0
maximum: 9007199254740991
callsNeeded:
type: integer
minimum: 0
maximum: 9007199254740991
canEnrollNow:
type: boolean
pending:
anyOf:
- type: string
enum:
- calls
- another_day
- conflict
- type: 'null'
enrolledAt:
anyOf:
- $ref: '#/components/schemas/IsoDate'
- type: 'null'
lastMatchedAt:
anyOf:
- $ref: '#/components/schemas/IsoDate'
- type: 'null'
required:
- contactId
- state
- source
- samples
- callsNeeded
- canEnrollNow
- pending
- enrolledAt
- lastMatchedAt
additionalProperties: false
VoiceprintList:
type: object
properties:
available:
type: boolean
items:
type: array
items:
$ref: '#/components/schemas/Voiceprint'
required:
- available
- items
additionalProperties: false
IsoDate:
type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
SetVoiceprintReq:
type: object
properties:
action:
type: string
enum:
- 'on'
- 'off'
- reset
required:
- action
ApiError:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
lang:
type: string
details: {}
required:
- code
- message
additionalProperties: false
required:
- error
additionalProperties: false
Id:
type: string
minLength: 3
maxLength: 64
SetVoiceprintRes:
type: object
properties:
voiceprint:
$ref: '#/components/schemas/Voiceprint'
outcome:
type: string
enum:
- enrolled
- already_active
- learning
- 'off'
- inconsistent
- conflict
- reset
required:
- voiceprint
- outcome
additionalProperties: false
VoiceprintState:
type: string
enum:
- active
- learning
- 'off'
responses:
PayloadTooLarge:
description: Body over the limit (64 KB; 512 KB for contact import).
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
NotFound:
description: No such resource, or not visible to this caller.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
BadRequest:
description: Invalid request (body not JSON, or schema validation failed).
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
Unauthorized:
description: Missing, expired or invalid bearer token.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
InternalError:
description: Unexpected server error (reported to Sentry).
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
securitySchemes:
ownerBearer:
type: http
scheme: bearer
bearerFormat: JWT
description: Identity Platform (Firebase Auth) ID token of the signed-in owner.
personalApiKey:
type: http
scheme: bearer
description: 'Personal API key (vk_…) made in Settings › More › Connect other apps. Read scope: inbox, contacts, bookings. Write scope: notes, disposed by the Mandate engine.'