Voice

Save Answer

Save one qualification answer. 422 for a field this call doesn't collect.

API key access

This route has its own authentication (or none); an API key is not used here.
PUT/api/v1/calls/{call_id}/answers/{field}
AuthorizationBearer <token>

Per-call token issued when the call was created (job metadata api_token).

In: header

Path Parameters

fieldstring
call_idstring
Formatuuid

Header Parameters

X-Workspace-Id?string | null

Workspace of the call (must match the token).

lead_idstring
Formatuuid
valuestring
Length1 <= length <= 4000

Response Body

curl -X PUT "http://localhost:8000/api/v1/calls/497f6eca-6276-4993-bfeb-53cbbbba6f08/answers/string" \  -H "X-Workspace-Id: string" \  -H "Content-Type: application/json" \  -d '{    "lead_id": "9bddab70-98e6-43a9-8f32-c9788b9de0c0",    "value": "string"  }'
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}