Skip to main content

How authentication works

MyVocal API uses a single header for authentication on every endpoint:
accessKey: <your_api_key>

Where to get your API key

  1. Sign in to MyVocal Account.
  2. Open Account Info.
  3. Copy your API key.

Header format

accessKey
string
required
API key used to authenticate your request.

Security best practices

  • Keep API keys on your backend server.
  • Do not expose API keys in frontend code or mobile apps.
  • Do not commit API keys to Git repositories.
  • Rotate key immediately if you suspect leakage.

Example request

curl --location 'https://api.myvocal.ai/sound_clone/api/v1/user/info' \
--header 'accessKey: <your_api_key>'