Skip to main content

SecurePass API

SecurePass call redaction jobs and items

  • Base URL: https://api.autessa.com
  • Auth: your API key in the Authorization header, with no Bearer prefix.
  • Guide: SecurePass
  • Status: all 19 operations are live.

Role policies for reading your bucket​

GET/clients/call-redaction/bucket-access

Response

FieldTypeRequiredDescription
externalIdstring
permissionsPolicyobject
trustPolicyobject
curl -X GET "https://api.autessa.com/clients/call-redaction/bucket-access" \
-H "Authorization: $AUTESSA_API_KEY"

Verify redaction evidence​

POST/clients/call-redaction/evidence/verify

Send an evidence document as returned. valid is true when it was signed with this company's evidence key (any of its versions, so evidence signed before a key rotation still verifies) over exactly this content.

Request body

FieldTypeRequiredDescription
evidenceVersioninteger
externalIdstring or null
generatedAtstring
itemIdstring
jobIdstring
kindstring
reasonstringWhy the evidence is UNAVAILABLE or FAILED.
recordingobject
redactionVersionsobject
redactionsarray of object
redactionsByTypeobject
reviewobject
signatureEvidenceSignature
statusVERIFYING | READY | UNAVAILABLE | FAILED
typesRequestedarray of string
verificationobjectThe second pass: the redacted audio transcribed again, digits still heard per span.
verificationVersionsobject

Response

FieldTypeRequiredDescription
itemIdstring
validbooleanSigned with this company's key (any of its versions) over exactly this content.
curl -X POST "https://api.autessa.com/clients/call-redaction/evidence/verify" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"evidenceVersion":1}'

Get the most recent item with your externalId​

GET/clients/call-redaction/items

Parameters

NameInTypeRequiredDescription
externalIdquerystring

Response

FieldTypeRequiredDescription
channelsinteger or null
completedAtstring or null
createdAtstring or null
deliveredAudioUristring or null
deliveredTranscriptUristring or null
durationSecondsnumber or null
errorCodestring or nullLINK_EXPIRED, ACCESS_DENIED, NOT_AUDIO, TOO_LARGE, UNREACHABLE, INVALID_URL, TRANSCRIPTION_UNAVAILABLE, NO_RESULT, FETCH_TIMED_OUT, INTERNAL_ERROR, ...
errorMessagestring or null
externalIdstring or null
itemIdstring
jobIdstring
purgedAtstring or nullPURGED items only.
receivedChunksintegerChunked items while RECEIVING: chunks received so far (all channels).
redactedAudioUrlstring or nullPresigned link to the redacted audio.
redactionsarray of RedactSpan
reviewRedactReview
speakerSeparationstring or boolean or null
statusRECEIVING | QUEUED | FETCHING | TRANSCRIBING | COMPLETED | FAILED | PURGEDRECEIVING: a chunked item still being uploaded.
transcriptUrlstring or nullPresigned link to the redacted transcript JSON.
curl -X GET "https://api.autessa.com/clients/call-redaction/items" \
-H "Authorization: $AUTESSA_API_KEY"

Create a chunked item​

POST/clients/call-redaction/items

Full-audio redaction with chunked upload: create, append chunks, finalize. Nothing is redacted until finalize; the whole recording is then processed.

Request body

FieldTypeRequiredDescription
audioRedactionSILENCE | TONEDefault SILENCE.
channels1 | 21 (default) or 2; 2 only for mulaw and pcm16 (one chunk stream per channel).
externalIdstring
formatmulaw | pcm16 | wav | opusYes
keeparray of string or RedactKeepEntryValues never to redact, such as your own phone numbers, address, website or email: each text, or {value, type}.
languageen | es | auto
paymentSegmentbooleanWith card types, silence the whole payment stretch (default true).
redactarray of CARD_NUMBER | CARD_EXPIRY | CARD_CVV | SSN | BANK_ACCOUNT | ACCOUNT_NUMBER | DATE_OF_BIRTH | PHONE | EMAIL | ADDRESS | NAME | MRN | HEALTH_PLAN_ID | HEALTH_PLAN_GROUP | MEDICARE_MBI | MEDICAID_ID | RX_NUMBER | CLAIM_NUMBER | MEDICATION | MEDICAL_CONDITION | PROVIDER_NAME | DATE_OF_SERVICE | NATIONAL_ID_MX | NATIONAL_ID_ES | NATIONAL_ID_OTHERDefault: every type that is on for the company.
redactAllChannelsbooleanSilence each span on both channels of a dual-channel call (default false).
retainOriginalDays0 | 1 | 7 | 30Days the source audio is kept: 0 (default), 1, 7 or 30.
retentionRedactRetention
sampleRateHzintegerYes
tuningobjectProcessing settings: precision, neuralVad, enhance, secondAsr, maxClipSeconds, redactCardTail, mode (fast or thorough; default fast).
typesarray of CARD_NUMBER | CARD_EXPIRY | CARD_CVV | SSN | BANK_ACCOUNT | ACCOUNT_NUMBER | DATE_OF_BIRTH | PHONE | EMAIL | ADDRESS | NAME | MRN | HEALTH_PLAN_ID | HEALTH_PLAN_GROUP | MEDICARE_MBI | MEDICAID_ID | RX_NUMBER | CLAIM_NUMBER | MEDICATION | MEDICAL_CONDITION | PROVIDER_NAME | DATE_OF_SERVICE | NATIONAL_ID_MX | NATIONAL_ID_ES | NATIONAL_ID_OTHERSame as redact. Send either one; if both are sent they must list the same types.
vocabularyRedactVocabulary
webhookUrlstringhttps endpoint POSTed the result (signed like the evaluations webhooks).

Response

FieldTypeRequiredDescription
itemIdstring
statusRECEIVING
curl -X POST "https://api.autessa.com/clients/call-redaction/items" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"format":"mulaw","sampleRateHz":8000}'

Get one item​

GET/clients/call-redaction/items/{itemId}

Parameters

NameInTypeRequiredDescription
itemIdpathstringYes

Response

FieldTypeRequiredDescription
channelsinteger or null
completedAtstring or null
createdAtstring or null
deliveredAudioUristring or null
deliveredTranscriptUristring or null
durationSecondsnumber or null
errorCodestring or nullLINK_EXPIRED, ACCESS_DENIED, NOT_AUDIO, TOO_LARGE, UNREACHABLE, INVALID_URL, TRANSCRIPTION_UNAVAILABLE, NO_RESULT, FETCH_TIMED_OUT, INTERNAL_ERROR, ...
errorMessagestring or null
externalIdstring or null
itemIdstring
jobIdstring
purgedAtstring or nullPURGED items only.
receivedChunksintegerChunked items while RECEIVING: chunks received so far (all channels).
redactedAudioUrlstring or nullPresigned link to the redacted audio.
redactionsarray of RedactSpan
reviewRedactReview
speakerSeparationstring or boolean or null
statusRECEIVING | QUEUED | FETCHING | TRANSCRIBING | COMPLETED | FAILED | PURGEDRECEIVING: a chunked item still being uploaded.
transcriptUrlstring or nullPresigned link to the redacted transcript JSON.
curl -X GET "https://api.autessa.com/clients/call-redaction/items/V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY"

Delete everything stored for an item​

DELETE/clients/call-redaction/items/{itemId}

503 PURGE_INCOMPLETE when storage deletion did not finish: call again.

Parameters

NameInTypeRequiredDescription
itemIdpathstringYes
waitSecondsqueryintegerWait for an in-progress item first (409 ITEM_IN_PROGRESS otherwise).

Response

FieldTypeRequiredDescription
alreadyPurgedboolean
deletedObjectsinteger
itemIdstring
purgedAtstring or null
statusPURGED
curl -X DELETE "https://api.autessa.com/clients/call-redaction/items/V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY"

Upload one chunk​

PUT/clients/call-redaction/items/{itemId}/chunks/{seq}

Idempotent per (seq, channel): re-sending the same chunk is safe.

Parameters

NameInTypeRequiredDescription
itemIdpathstringYes
seqpathintegerYes0-based chunk sequence number.
channelqueryinteger

Request body: raw bytes (application/octet-stream).

Response

FieldTypeRequiredDescription
bytesinteger
channelinteger
itemIdstring
seqinteger
statusstring
curl -X PUT "https://api.autessa.com/clients/call-redaction/items/V1StGXR8Z5/chunks/0" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/octet-stream" \
--data-binary @chunk-0000.raw

Get signed redaction evidence​

GET/clients/call-redaction/items/{itemId}/evidence

What was redacted by type and time span (never a value), the second-pass verification (the redacted audio transcribed again), model and rule versions, timestamps, and an HMAC-SHA256 signature. ?format=pdf returns the same as a PDF with the signed JSON attached. 202 with status VERIFYING until the second pass finishes (?waitSeconds=0-120 waits). 409 ITEM_IN_PROGRESS before the item is redacted.

Parameters

NameInTypeRequiredDescription
itemIdpathstringYes
formatquerystring
waitSecondsqueryinteger

Response

FieldTypeRequiredDescription
evidenceVersioninteger
externalIdstring or null
generatedAtstring
itemIdstring
jobIdstring
kindstring
reasonstringWhy the evidence is UNAVAILABLE or FAILED.
recordingobject
redactionVersionsobject
redactionsarray of object
redactionsByTypeobject
reviewobject
signatureEvidenceSignature
statusVERIFYING | READY | UNAVAILABLE | FAILED
typesRequestedarray of string
verificationobjectThe second pass: the redacted audio transcribed again, digits still heard per span.
verificationVersionsobject
curl -X GET "https://api.autessa.com/clients/call-redaction/items/V1StGXR8Z5/evidence" \
-H "Authorization: $AUTESSA_API_KEY"

Finish uploading and queue redaction​

POST/clients/call-redaction/items/{itemId}/finalize

totalChunks is optional: a whole number, or per channel as {"0": n, "1": m}. 422 MISSING_CHUNKS lists every missing {channel, seq}. A repeat call answers the same 202.

Parameters

NameInTypeRequiredDescription
itemIdpathstringYes

Request body

FieldTypeRequiredDescription
totalChunksinteger or RedactChunksByChannelHow many chunks were sent: a whole number (channel 0, or a one-channel item), or per channel as {"0": n, "1": m}. Optional; when sent, missing seqs below it are reported.

Response

FieldTypeRequiredDescription
itemIdstring
statusQUEUED
curl -X POST "https://api.autessa.com/clients/call-redaction/items/V1StGXR8Z5/finalize" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"totalChunks":1}'

Approve or redact more​

POST/clients/call-redaction/items/{itemId}/review

Parameters

NameInTypeRequiredDescription
itemIdpathstringYes

Request body

FieldTypeRequiredDescription
decisionAPPROVED | REDACTED_MOREYes
notestring
rangesarray of RedactRange

Response

FieldTypeRequiredDescription
channelsinteger or null
completedAtstring or null
createdAtstring or null
deliveredAudioUristring or null
deliveredTranscriptUristring or null
durationSecondsnumber or null
errorCodestring or nullLINK_EXPIRED, ACCESS_DENIED, NOT_AUDIO, TOO_LARGE, UNREACHABLE, INVALID_URL, TRANSCRIPTION_UNAVAILABLE, NO_RESULT, FETCH_TIMED_OUT, INTERNAL_ERROR, ...
errorMessagestring or null
externalIdstring or null
itemIdstring
jobIdstring
purgedAtstring or nullPURGED items only.
receivedChunksintegerChunked items while RECEIVING: chunks received so far (all channels).
redactedAudioUrlstring or nullPresigned link to the redacted audio.
redactionsarray of RedactSpan
reviewRedactReview
speakerSeparationstring or boolean or null
statusRECEIVING | QUEUED | FETCHING | TRANSCRIBING | COMPLETED | FAILED | PURGEDRECEIVING: a chunked item still being uploaded.
transcriptUrlstring or nullPresigned link to the redacted transcript JSON.
curl -X POST "https://api.autessa.com/clients/call-redaction/items/V1StGXR8Z5/review" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"decision":"APPROVED"}'

Audio and transcript for review​

GET/clients/call-redaction/items/{itemId}/review-media

Parameters

NameInTypeRequiredDescription
itemIdpathstringYes

Response

FieldTypeRequiredDescription
expiresInSecondsinteger
itemRedactItem
itemIdstring
redactedAudioUrlstring
transcriptobject
curl -X GET "https://api.autessa.com/clients/call-redaction/items/V1StGXR8Z5/review-media" \
-H "Authorization: $AUTESSA_API_KEY"

List batch jobs (newest first)​

GET/clients/call-redaction/jobs

Parameters

NameInTypeRequiredDescription
limitqueryinteger
afterquerystring

Response

FieldTypeRequiredDescription
jobsarray of RedactJob
nextstring or nullPass as after for the next page.
curl -X GET "https://api.autessa.com/clients/call-redaction/jobs" \
-H "Authorization: $AUTESSA_API_KEY"

Queue a batch of recordings​

POST/clients/call-redaction/jobs

Request body

FieldTypeRequiredDescription
audioRedactionSILENCE | TONEDefault SILENCE.
fetchAuthRedactFetchAuth
itemsarray of RedactJobItemSourceAt most 1,000 recordings.
keeparray of string or RedactKeepEntryValues never to redact, such as your own phone numbers, address, website or email: each text, or {value, type}.
manifestUploadIdstring
manifestUrlstringhttps link to a JSONL manifest of {audioUrl, externalId} lines.
outputRedactOutputAlso deliver the redacted audio into your bucket (needs sourceRoleArn).
paymentSegmentbooleanWith card types, silence the whole payment stretch (default true).
redactarray of CARD_NUMBER | CARD_EXPIRY | CARD_CVV | SSN | BANK_ACCOUNT | ACCOUNT_NUMBER | DATE_OF_BIRTH | PHONE | EMAIL | ADDRESS | NAME | MRN | HEALTH_PLAN_ID | HEALTH_PLAN_GROUP | MEDICARE_MBI | MEDICAID_ID | RX_NUMBER | CLAIM_NUMBER | MEDICATION | MEDICAL_CONDITION | PROVIDER_NAME | DATE_OF_SERVICE | NATIONAL_ID_MX | NATIONAL_ID_ES | NATIONAL_ID_OTHERDefault: every type that is on for the company.
redactAllChannelsbooleanSilence each span on both channels of a dual-channel call (default false).
retainOriginalDays0 | 1 | 7 | 30Days the source audio is kept: 0 (default), 1, 7 or 30.
retentionRedactRetention
s3Prefixstring
sourceRoleArnstring
tuningobjectProcessing settings: precision, neuralVad, enhance, secondAsr, maxClipSeconds, redactCardTail, mode (fast or thorough; default fast).
typesarray of CARD_NUMBER | CARD_EXPIRY | CARD_CVV | SSN | BANK_ACCOUNT | ACCOUNT_NUMBER | DATE_OF_BIRTH | PHONE | EMAIL | ADDRESS | NAME | MRN | HEALTH_PLAN_ID | HEALTH_PLAN_GROUP | MEDICARE_MBI | MEDICAID_ID | RX_NUMBER | CLAIM_NUMBER | MEDICATION | MEDICAL_CONDITION | PROVIDER_NAME | DATE_OF_SERVICE | NATIONAL_ID_MX | NATIONAL_ID_ES | NATIONAL_ID_OTHERSame as redact. Send either one; if both are sent they must list the same types.
vocabularyRedactVocabularyWords the transcript should spell your way.
webhookPerItembooleanPOST webhookUrl once per recording instead of once per job.
webhookUrlstringhttps endpoint POSTed the result (signed like the evaluations webhooks).
zipS3Uristring
zipUploadIdstring

Response

FieldTypeRequiredDescription
itemCountinteger
itemsarray of RedactItem
jobIdstring
manifestRedactJobManifest
curl -X POST "https://api.autessa.com/clients/call-redaction/jobs" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"audioRedaction":"SILENCE"}'

Get a job with counts​

GET/clients/call-redaction/jobs/{jobId}

Parameters

NameInTypeRequiredDescription
jobIdpathstringYes

Response

FieldTypeRequiredDescription
audioRedactionstring
completedAtstring or null
countsobjectItems per status, plus needsReview and reviewed.
createdAtstring
createdBystring
errorMessagestring
itemCountinteger
jobIdstring
listingIN_PROGRESS | DONE
manifestRedactJobManifest
operationstring
outputRedactOutput
paymentSegmentboolean
realtimeboolean
redactarray of string
redactAllChannelsboolean
resultsStatusBUILDING | FAILED
resultsUrlstringPresigned link to results.jsonl once written.
retainOriginalDaysinteger
retentionRedactRetention
sourceRedactJobSource
statusRUNNING | COMPLETED
webhookPerItemboolean
curl -X GET "https://api.autessa.com/clients/call-redaction/jobs/V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY"

List a job's items​

GET/clients/call-redaction/jobs/{jobId}/items

Parameters

NameInTypeRequiredDescription
jobIdpathstringYes
statusquerystring
limitqueryinteger
afterquerystring
needsReviewquerybooleanOnly items flagged for review that nobody has decided yet.

Response

FieldTypeRequiredDescription
itemsarray of RedactItem
nextstring or nullPass as after for the next page.
waitingintegerReview queue only: the total waiting (first page).
curl -X GET "https://api.autessa.com/clients/call-redaction/jobs/V1StGXR8Z5/items" \
-H "Authorization: $AUTESSA_API_KEY"

Re-run a job's FAILED items​

POST/clients/call-redaction/jobs/{jobId}/retry-failed

Parameters

NameInTypeRequiredDescription
jobIdpathstringYes

Response

FieldTypeRequiredDescription
jobIdstring
retriedintegerFAILED items re-opened (in the background).
curl -X POST "https://api.autessa.com/clients/call-redaction/jobs/V1StGXR8Z5/retry-failed" \
-H "Authorization: $AUTESSA_API_KEY"

Redact one recording and wait​

POST/clients/call-redaction/redact

Request body

FieldTypeRequiredDescription
audioRedactionSILENCE | TONEDefault SILENCE.
audioUrlstringhttps link to the recording. One of audioUrl, uploadId or s3Uri.
externalIdstringYour id for the recording.
fetchAuthRedactFetchAuth
keeparray of string or RedactKeepEntryValues never to redact, such as your own phone numbers, address, website or email: each text, or {value, type}.
outputRedactOutputAlso deliver the redacted audio into your bucket (needs sourceRoleArn).
paymentSegmentbooleanWith card types, silence the whole payment stretch (default true).
redactarray of CARD_NUMBER | CARD_EXPIRY | CARD_CVV | SSN | BANK_ACCOUNT | ACCOUNT_NUMBER | DATE_OF_BIRTH | PHONE | EMAIL | ADDRESS | NAME | MRN | HEALTH_PLAN_ID | HEALTH_PLAN_GROUP | MEDICARE_MBI | MEDICAID_ID | RX_NUMBER | CLAIM_NUMBER | MEDICATION | MEDICAL_CONDITION | PROVIDER_NAME | DATE_OF_SERVICE | NATIONAL_ID_MX | NATIONAL_ID_ES | NATIONAL_ID_OTHERDefault: every type that is on for the company.
redactAllChannelsbooleanSilence each span on both channels of a dual-channel call (default false).
retainOriginalDays0 | 1 | 7 | 30Days the source audio is kept: 0 (default), 1, 7 or 30.
retentionRedactRetention
s3Uristrings3://bucket/key in your bucket, read in place through sourceRoleArn.
sourceRoleArnstringYour role Autessa assumes (see bucket-access).
tonebooleanShorthand for audioRedaction TONE.
tuningobjectProcessing settings: precision, neuralVad, enhance, secondAsr, maxClipSeconds, redactCardTail, mode (fast or thorough; default fast).
typesarray of CARD_NUMBER | CARD_EXPIRY | CARD_CVV | SSN | BANK_ACCOUNT | ACCOUNT_NUMBER | DATE_OF_BIRTH | PHONE | EMAIL | ADDRESS | NAME | MRN | HEALTH_PLAN_ID | HEALTH_PLAN_GROUP | MEDICARE_MBI | MEDICAID_ID | RX_NUMBER | CLAIM_NUMBER | MEDICATION | MEDICAL_CONDITION | PROVIDER_NAME | DATE_OF_SERVICE | NATIONAL_ID_MX | NATIONAL_ID_ES | NATIONAL_ID_OTHERSame as redact. Send either one; if both are sent they must list the same types.
uploadIdstringFrom POST /clients/call-redaction/uploads, once uploaded.
vocabularyRedactVocabularyWords the transcript should spell your way.
waitSecondsintegerHow long to wait for the result (default 120). Max 120.
webhookUrlstringhttps endpoint POSTed the result (signed like the evaluations webhooks).

Also accepts multipart/form-data:

FieldTypeRequiredDescription
filestringThe recording (at most 200 MB).
optionsstringRedactRequest options as JSON text, without a source.

Response

FieldTypeRequiredDescription
channelsinteger or null
completedAtstring or null
createdAtstring or null
deliveredAudioUristring or null
deliveredTranscriptUristring or null
durationSecondsnumber or null
errorCodestring or nullLINK_EXPIRED, ACCESS_DENIED, NOT_AUDIO, TOO_LARGE, UNREACHABLE, INVALID_URL, TRANSCRIPTION_UNAVAILABLE, NO_RESULT, FETCH_TIMED_OUT, INTERNAL_ERROR, ...
errorMessagestring or null
externalIdstring or null
itemIdstring
jobIdstring
purgedAtstring or nullPURGED items only.
receivedChunksintegerChunked items while RECEIVING: chunks received so far (all channels).
redactedAudioUrlstring or nullPresigned link to the redacted audio.
redactionsarray of RedactSpan
reviewRedactReview
speakerSeparationstring or boolean or null
statusRECEIVING | QUEUED | FETCHING | TRANSCRIBING | COMPLETED | FAILED | PURGEDRECEIVING: a chunked item still being uploaded.
transcriptUrlstring or nullPresigned link to the redacted transcript JSON.
curl -X POST "https://api.autessa.com/clients/call-redaction/redact" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"audioRedaction":"SILENCE"}'

Calls waiting for review​

GET/clients/call-redaction/review

Parameters

NameInTypeRequiredDescription
limitqueryinteger
afterquerystring

Response

FieldTypeRequiredDescription
itemsarray of RedactItem
nextstring or nullPass as after for the next page.
waitingintegerReview queue only: the total waiting (first page).
curl -X GET "https://api.autessa.com/clients/call-redaction/review" \
-H "Authorization: $AUTESSA_API_KEY"

POST/clients/call-redaction/uploads

Request body

FieldTypeRequiredDescription
filesarray of RedactUploadFile
uploadIdstringRenew the link of this upload instead.

Response

FieldTypeRequiredDescription
expiresInSecondsinteger
maxBytesinteger
uploadMethodPUT
uploadsarray of RedactUploadLink
curl -X POST "https://api.autessa.com/clients/call-redaction/uploads" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"files":[{"externalId":"string"}]}'