From 72f17d4ac4a5b587f13fc8503a474a7599602c6b Mon Sep 17 00:00:00 2001 From: ajkamen Date: Wed, 17 Jun 2026 12:40:00 -0700 Subject: [PATCH 1/2] Fix recording response media type in spec --- specs/engage-voice_openapi3.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/specs/engage-voice_openapi3.json b/specs/engage-voice_openapi3.json index 4d0eb35..4e0d045 100644 --- a/specs/engage-voice_openapi3.json +++ b/specs/engage-voice_openapi3.json @@ -24842,7 +24842,15 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK. The response body contains the WAV recording audio stream.", + "content": { + "audio/wav": { + "schema": { + "type": "string", + "format": "binary" + } + } + } }, "400": { "description": "Bad request", @@ -26697,4 +26705,4 @@ ] } ] -} \ No newline at end of file +} From 9bc363c58d38c363d700aabd6d19bd828b6fdd60 Mon Sep 17 00:00:00 2001 From: ajkamen Date: Wed, 17 Jun 2026 14:32:50 -0700 Subject: [PATCH 2/2] Document reserveAgent in lead load spec --- specs/engage-voice_openapi3.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/specs/engage-voice_openapi3.json b/specs/engage-voice_openapi3.json index 4e0d045..6971041 100644 --- a/specs/engage-voice_openapi3.json +++ b/specs/engage-voice_openapi3.json @@ -4851,6 +4851,13 @@ "quotaTargets": { "$ref": "#/components/schemas/CollectionQuotaTarget" }, + "reserveAgent": { + "description": "Agent ID to reserve this lead for during direct lead loading. If the value is blank, null, omitted, invalid, or refers to an agent without access to the account, the lead is still accepted. Invalid or inaccessible assignments are counted in failedAgentAssignment.", + "example": "980", + "nullable": true, + "type": "string", + "writeOnly": true + }, "sortCol": { "type": "string" }, @@ -9858,6 +9865,11 @@ "format": "int32", "type": "integer" }, + "failedAgentAssignment": { + "description": "Number of accepted leads whose reserveAgent value could not be assigned because the agent ID was invalid or the agent does not have access to the account.", + "format": "int32", + "type": "integer" + }, "hasDeletedLeads": { "type": "boolean" },