connectAiAgentToCall
Arguments
Returns
ConnectAiAgentToCallThe possible errors that can be raised are:
- KT-CT-11802: Call not found.
- KT-CT-11815: Unable to connect a call to an AI agent.
- KT-CT-11817: Invalid call ID.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-1111: Unauthorized.
- KT-CT-1112: 'Authorization' header not provided.
Possible Errors
Allowed Viewers
Required Permissions
Can manage callsQuery Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation ConnectAiAgentToCall($input: ConnectAiAgentToCallInput!) {
connectAiAgentToCall(input: $input) {
call {
...InboundCallTypeFragment
}
}
}
Variables
{
"input": ConnectAiAgentToCallInput
}
Response
{
"data": {
"connectAiAgentToCall": {
"call": InboundCallType
}
}
}