Get User Info
This endpoint gets or creates a new user.
curl --location 'https://api.myvocal.ai/sound_clone/api/v1/user/info' \
--header 'accessKey: xxxx'
{
"code": 1,
"message": "Success",
"data": {
"plan": "Business",
"status": "active",
"resetInDays": 2,
"benefit": {
"usedVoices": 146,
"totalVoices": 150,
"usedMonthlyChars": 3498604,
"totalMonthlyChars": 3500000,
"usedOrderChars": 0,
"totalOrderChars": 0
}
}
}
Header
You can copy your api-key on https://www.myvocal.ai/profile after you have subscribed to Pro or Business Plan.
Response
Indicates whether the call was successful. 1 if successful.
When an exception occurs, specific exception information will be provided in the message.
Includes specific data.
Your current subscription plan.
The number of custom voices you created through the website or API.
The maximum number of custom voices you can create with your subscription plan.
The number of TTS characters you have used within your subscription plan.
The maximum number of TTS characters within your subscription plan.
The number of TTS characters you have used without your subscription plan.
The number of TTS characters you have purchased without your subscription plan.
curl --location 'https://api.myvocal.ai/sound_clone/api/v1/user/info' \
--header 'accessKey: xxxx'
{
"code": 1,
"message": "Success",
"data": {
"plan": "Business",
"status": "active",
"resetInDays": 2,
"benefit": {
"usedVoices": 146,
"totalVoices": 150,
"usedMonthlyChars": 3498604,
"totalMonthlyChars": 3500000,
"usedOrderChars": 0,
"totalOrderChars": 0
}
}
}
curl --location 'https://api.myvocal.ai/sound_clone/api/v1/user/info' \
--header 'accessKey: xxxx'
{
"code": 1,
"message": "Success",
"data": {
"plan": "Business",
"status": "active",
"resetInDays": 2,
"benefit": {
"usedVoices": 146,
"totalVoices": 150,
"usedMonthlyChars": 3498604,
"totalMonthlyChars": 3500000,
"usedOrderChars": 0,
"totalOrderChars": 0
}
}
}