API ReferenceAudio

Analyze audio from a URL

Analyze audio fetched from a public URL — a direct audio link or a video/social page whose audio track is extracted automatically.

POST
/api/app/voice-analysis/process-from-url

Authorization

BearerAuth
AuthorizationBearer <token>

Send your secret API token as a bearer token in the Authorization header: Authorization: Bearer <token>. Keep it server-side and never expose it in client code.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

cURL
curl -X POST "https://example.com/api/app/voice-analysis/process-from-url" \  -H "Content-Type: application/json" \  -d '{    "url": "http://example.com"  }'
{
  "isSuccessful": true,
  "errorMessage": "string",
  "workflowType": 1,
  "transcript": "string",
  "analysis": "string",
  "contextUsed": "string",
  "isAiDetected": true,
  "detectionConfidence": 0,
  "detectionClassification": "string",
  "processingTimeMs": 0,
  "creditsUsed": 0,
  "metadata": {}
}
File too large
{
  "error": {
    "code": "IMAGE_FORENSICS:FILE_TOO_LARGE",
    "message": "File photo.jpg exceeds the maximum size of 50 MB."
  }
}
Unsupported format
{
  "error": {
    "code": "IMAGE_FORENSICS:UNSUPPORTED_FORMAT",
    "message": "Unsupported file format. Allowed — jpg, jpeg, png, webp, heic, heif, tiff."
  }
}
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid or missing API token."
  }
}