How to deploy assistants via API
To seamlessly integrate Cassidy assistants into your application via API, follow these step-by-step instructions:
Navigate to the Assistants page: Click on the "Assistants" tab in the left sidebar to access your list of assistants.
Select the assistant: Choose the assistant you want to deploy via API by clicking on its card or opening the ellipses (more options) menu and selecting "Edit."
Access the External Deployments tab: In the assistant's settings, navigate to the "External Deployments" tab, then click on "Deploy via API" in the sidebar.
Create an API key:
Click on the "API Keys" link in the instructions. Alternatively, you can navigate to API Keys by opening Organization Settings:
Click on your name in the bottom left of the sidebar.
Click the settings icon for your organization.
In the Organization Settings window, navigate to the API Keys tab.
Click "+ Create API Key".
Enter an API Key Name and click Save.
Click the eye icon to reveal the API key (you will not be able to see it again).
Click copy and save the API key to a secure location.
Once finished, click Exit.
Note: You can delete the API key by clicking the ellipses and selecting Delete.
Return to the Deploy via API tab: Go back to your assistant's settings and the Deploy via API tab. Follow the sample code provided for creating threads and messages.
Refer to the API documentation: For detailed information on available endpoints and request formats, refer to the Cassidy API documentation here.