Sample - OpenAI API
GET/audio/voice_consents

List voice consent recordings

Lists voice consent recordings available to the authenticated user. Use after to retrieve the next page and limit to control the number of recordings returned. Results include pagination state and consent recording identifiers.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
afterstringoptional
Pagination cursor identifying the object after which to return voice consent recordings.
limitintegeroptional
Maximum number of voice consent recordings to return, from 1 to 100. Defaults to 20 when omitted.
Default:20

1 status code
200Returns a list object containing voice consent recordings, the first and last identifiers when available, and a boolean indicating whether more results exist.
objectstringrequired
Allowed:list
dataarray<VoiceConsent>required
first_idstringoptional
last_idstringoptional
has_morebooleanrequired

Error handling

limit must be between 1 and 100 when supplied. Use after as an object identifier to continue pagination through the consent recordings.