API template library

Simulate the ElevenLabs Workspace API

A WireMock simulation of ElevenLabs's REST API — covering the user and subscription, service accounts and their API keys, key policies, auth connections, groups, invites, members, resource sharing, webhooks, and the audit log.

Vendor
ElevenLabs
Functionality
Service accounts, keys, sharing, audit log
Spec version
1.0.0
Endpoints
34
Stubs
61
Protocol
REST
Validation
AI-validated Before publication, an AI agent exercised these endpoints against the real ElevenLabs API through WireMock's recording proxy, and the recorded traffic was used to verify each stub's request and response shapes.

Live sandbox · no signup, no API key

ElevenLabs Workspace API

A running WireMock Cloud instance of this template, callable right now from a terminal, a script, or an AI agent.

Base URL
https://5m4z15.wiremockapi.cloud

POST List Api Requests [requests_get]

curl -s -X POST 'https://5m4z15.wiremockapi.cloud/v1/workspace/analytics/requests' \
  -H 'Content-Type: application/json' \
  -d '{}'

GET Get user [user_get]

curl -s -X GET 'https://5m4z15.wiremockapi.cloud/v1/user'

GET Get user subscription [subscription_get]

curl -s -X GET 'https://5m4z15.wiremockapi.cloud/v1/user/subscription'
Method Path Summary
GET /v1/service-accounts Get service accounts
POST /v1/service-accounts Create Service Account
GET /v1/service-accounts/{service_account_user_id}/api-keys Get API keys
POST /v1/service-accounts/{service_account_user_id}/api-keys Create API key
DELETE /v1/service-accounts/{service_account_user_id}/api-keys/{api_key_id} Delete API key
PATCH /v1/service-accounts/{service_account_user_id}/api-keys/{api_key_id} Update API key
POST /v1/service-accounts/{service_account_user_id}/api-keys/{api_key_id}/disable Disable Service Account Api Key
GET /v1/user Get user
GET /v1/user/subscription Get user subscription
POST /v1/workspace/analytics/query/usage-by-product-over-time Get Workspace Usage
POST /v1/workspace/analytics/requests List Api Requests
GET /v1/workspace/audit-logs Get Workspace Audit Logs
GET /v1/workspace/auth-connections Get Workspace Auth Connections
POST /v1/workspace/auth-connections Create Workspace Auth Connection
DELETE /v1/workspace/auth-connections/{auth_connection_id} Delete Workspace Auth Connection
PATCH /v1/workspace/auth-connections/{auth_connection_id} Update Workspace Auth Connection
GET /v1/workspace/groups List workspace groups
POST /v1/workspace/groups/{group_id}/members Add member to user group
POST /v1/workspace/groups/{group_id}/members/remove Remove member from user group
GET /v1/workspace/groups/search Search user group
DELETE /v1/workspace/invites Delete invite
POST /v1/workspace/invites/add Invite user
POST /v1/workspace/invites/add-bulk Invite Multiple Users
GET /v1/workspace/members Get Workspace Members
POST /v1/workspace/members Update member
GET /v1/workspace/resources/{resource_id} Get Resource
POST /v1/workspace/resources/{resource_id}/share Share Workspace Resource
POST /v1/workspace/resources/{resource_id}/unshare Unshare Workspace Resource
GET /v1/workspace/webhooks List Workspace Webhooks
POST /v1/workspace/webhooks Create Workspace Webhook
DELETE /v1/workspace/webhooks/{webhook_id} Delete Workspace Webhook
PATCH /v1/workspace/webhooks/{webhook_id} Update Workspace Webhook
POST /v1/workspaces/api-keys/disable Disable API key
POST /v1/workspaces/api-keys/third-party-disabling Set Workspace Third-Party Disabling Policy

Unauthenticated WireMock Cloud demo sandbox for ElevenLabs — not an official ElevenLabs sandbox, and it returns simulated example data only.

What's inside the ElevenLabs Workspace template

The template covers the administrative side of an ElevenLabs workspace. Requests act as the owner, Ada Lovelace, an admin on an enterprise subscription, and four seeded members and three groups stand in for the people the API can't create. Service accounts and their keys are stored: a new key returns its sk_ value once, with a key_id for later updates. Every write appends an OCSF-shaped audit event, so compliance tooling gets real entries to read back.

  • Service accounts and keys — accounts with default sharing groups, keys with permissions and limits, and updates, disabling and deletion
  • Key policies — self-disable by the calling key, and the workspace-wide third-party disabling override
  • Members and groups — seat changes, locking, and group membership managed by email address
  • Invites and sharing — single and bulk invites, and role-based sharing of any resource with members, groups or service accounts
  • Auth connections and webhooks — OAuth2, header, basic, bearer, JWT and mTLS connections, and HMAC webhooks with wsec_ secrets
  • Audit log and analytics — an event per write, newest first, plus usage and request analytics

ElevenLabs Workspace mock API FAQ

A fixed one owned by Ada Lovelace, with Grace Hopper, Alan Turing and Katherine Johnson as members and groups called Everyone, Voice Designers and Agent Builders. Members and groups can be modified but not created, as in the real API.

No. The sk_ values are random strings stored by the mock, and the mock accepts any xi-api-key header anyway. They exist so key-rotation code has something realistic to store and display.

No. Accepting an invite happens by email, outside the API, so invites stay pending until revoked. Seed members cover the tests that need someone already in the workspace.

Speech, voices and dubbing are in the ElevenLabs ElevenAPI template, and Studio and media generation in ElevenCreative. Webhooks here report empty usage, because the products that use them live there.

Vendor names identify APIs represented by WireMock template sources. This page does not imply vendor endorsement, certification, partnership, or official integration status.