Skip to content

Transfer tool for assistants enabled breaks the calls/List sdk method #8

@jpgtzg

Description

@jpgtzg

While trying to perform SDK calls using the Vapi's Go SDK to retrieve the calls made by an assitant that has the transfer tool:

assistantCalls, err := VapiClient.Calls.List(context.Background(), &vapiApi.CallsListRequest{
			AssistantId: vapiApi.String(assistant.VapiAssistantId),
		})

I get: cannot be deserialized as a *api.CallDestination error, which is internal to Vapi's Go SDK, not our code. This only happens when the transfer tool is enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions