curl -X POST 'https://senso.nurrel.io/api/audio/process' \
-H 'X-Api-Key: YOUR_CUSTOMER_KEY' \
-F 'audio=@sample-call.wav' \
-F 'external_id=example-call-001'
import { readFile } from 'node:fs/promises';
const audioBytes = await readFile('sample-call.wav');
const form = new FormData();
form.append('audio', new Blob([audioBytes]), 'sample-call.wav');
form.append('external_id', 'example-call-001');
const response = await fetch('https://senso.nurrel.io/api/audio/process', {
method: 'POST',
headers: { 'X-Api-Key': process.env.NURREL_API_KEY },
body: form,
});
import os, requests
with open('sample-call.wav', 'rb') as audio:
response = requests.post('https://senso.nurrel.io/api/audio/process',
headers={'X-Api-Key': os.environ['NURREL_API_KEY']},
files={'audio': audio}, data={'external_id': 'example-call-001'})
{
"success": true,
"jobId": "550e8400-e29b-41d4-a716-446655440000",
"message": "Audio processing started"
}
SENSO API
Upload a recording
POST /api/audio/process
curl -X POST 'https://senso.nurrel.io/api/audio/process' \
-H 'X-Api-Key: YOUR_CUSTOMER_KEY' \
-F 'audio=@sample-call.wav' \
-F 'external_id=example-call-001'
import { readFile } from 'node:fs/promises';
const audioBytes = await readFile('sample-call.wav');
const form = new FormData();
form.append('audio', new Blob([audioBytes]), 'sample-call.wav');
form.append('external_id', 'example-call-001');
const response = await fetch('https://senso.nurrel.io/api/audio/process', {
method: 'POST',
headers: { 'X-Api-Key': process.env.NURREL_API_KEY },
body: form,
});
import os, requests
with open('sample-call.wav', 'rb') as audio:
response = requests.post('https://senso.nurrel.io/api/audio/process',
headers={'X-Api-Key': os.environ['NURREL_API_KEY']},
files={'audio': audio}, data={'external_id': 'example-call-001'})
{
"success": true,
"jobId": "550e8400-e29b-41d4-a716-446655440000",
"message": "Audio processing started"
}
Upload audio for SENSO analysis. The request is multipart/form-data; a successful upload starts a processing job.
Access: SENSO standalone analysis. Authentication.
Headers
Request body
Response · 200
Customer keys cannot override owner_id, region, tempo, transcription provider, or analysis model. The API accepts the Console formats WAV, MP3, OGG, FLAC, AAC, M4A, WEBM and also .opus and .mp4. Production ingress limits request bodies to 250 MB; your plan may allow less.
Errors
| HTTP | Meaning | code |
|---|---|---|
403 | Restricted settings were supplied. | FORBIDDEN_FIELDS |
409 | The external_id is already used. | — |
curl -X POST 'https://senso.nurrel.io/api/audio/process' \
-H 'X-Api-Key: YOUR_CUSTOMER_KEY' \
-F 'audio=@sample-call.wav' \
-F 'external_id=example-call-001'
import { readFile } from 'node:fs/promises';
const audioBytes = await readFile('sample-call.wav');
const form = new FormData();
form.append('audio', new Blob([audioBytes]), 'sample-call.wav');
form.append('external_id', 'example-call-001');
const response = await fetch('https://senso.nurrel.io/api/audio/process', {
method: 'POST',
headers: { 'X-Api-Key': process.env.NURREL_API_KEY },
body: form,
});
import os, requests
with open('sample-call.wav', 'rb') as audio:
response = requests.post('https://senso.nurrel.io/api/audio/process',
headers={'X-Api-Key': os.environ['NURREL_API_KEY']},
files={'audio': audio}, data={'external_id': 'example-call-001'})
{
"success": true,
"jobId": "550e8400-e29b-41d4-a716-446655440000",
"message": "Audio processing started"
}