Skip to main content

API Key

All endpoints under /openapi/v1/** require an API Key.

Request header

Send your key on every request in the HTTP Authorization header (not in the query string or request body):
Example with curl:
Replace YOUR_API_KEY with the key from API Configuration.

Scope

Your API Key determines which tasks, materials, and cloned voices you can list, query, and delete. Send only the fields documented for each endpoint.
Do not expose API Keys in client apps or public repositories. Store keys in environment variables or a secrets manager.

Create and rotate keys

Create and rotate keys on API Configuration on vmeg.ai (sidebar API after you sign in). Sign in if needed. The same page is where you set your Webhook URL and view the Webhook Secret VMEG generates for async callbacks.
API Configuration is available on paid plans. See Pricing.

Authentication failures

HTTP status 401 with a JSON body such as:
See Error codes for the full code list.