Skip to content

Update websocket-transport.mdx #556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 8, 2025
Merged

Conversation

skheyfets-asapp
Copy link
Contributor

Create a WebSocket call curl example was incorrect using the assistant object, which can only be used for transient assistants. To reference existing assistant by Id, the string assistantId field should be used instead.

Description

  • Replace assistant object with assistantId string in Create websocket example

Testing Steps

  • Run the app locally using fern docs dev or navigate to preview deployment
  • Ensure that the changed pages and code snippets work

Create a WebSocket call curl example was incorrect using the `assistant` object, which can only be used for transient assistants. To reference existing assistant by Id, the string `assistantId` field should be used instead.
Copy link
Collaborator

@goosewin goosewin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@goosewin goosewin merged commit 2cb8237 into VapiAI:main Jul 8, 2025
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants