Skip to content

Get Started

The SiteAssist Developer API provides programmatic access to integrate AI-powered chat assistants into your applications. The API allows you to embed intelligent chatbots on your websites and services, enabling seamless customer interactions powered by AI.

With the Developer API, you can:

  • Initialize visitor sessions for chat interactions
  • Create and manage conversations
  • Send and receive messages with AI assistants
  • Access conversation history
  • Perform semantic search on your knowledge base
  • Retrieve Q&A entries from your project
  • Generate chat completions using configured assistants

To use developer API, you need to create API keys in the project dashboard.

Follow these steps to create API keys for your project:

  1. Go to your project dashboard in SiteAssist
  2. In the sidebar under Advanced, click on API Keys

API Keys Dashboard

In the top-right corner of the API Keys dashboard, click the Create API Key button. This will open a dropdown menu with two options:

  • Publishable Key - For client-side applications
  • Private Key - For server-side applications

Create API Key Dropdown

Select the appropriate key type based on where you’ll use it:

For client-side applications (websites, mobile apps):

  1. Select Publishable Key from the dropdown

  2. Fill in the modal fields:

    • Name: Give your key a descriptive name (e.g., “Production Website”, “Mobile App”)
    • Assistant: Select which AI assistant this key will interact with
    • Allowed Websites: Add the domains where this key will be used (e.g., “https://example.com”)
  3. Click + Add URL to add multiple allowed domains

  4. Click Create Key

    Create Publishable Key Modal

For server-side integrations:

  1. Select Private Key from the dropdown

  2. Enter only:

    • Name: Give your key a descriptive name (e.g., “Backend API Integration”, “Analytics Service”)
  3. Click Create

    Create Private Key Modal

  4. Save Your API Key

    After creating your key, a modal will display your new API key.

    API Key Created Modal

If an API key is compromised or no longer needed:

  1. Locate the key in the API Keys dashboard
  2. Click the actions menu (⋯) for that key
  3. Select Revoke Key
  4. Confirm the action

We’re here to help you succeed! Whether you have questions, need assistance with setup, or want to discuss advanced use cases, our team is ready to provide personalized support.

Contact us: support@siteassist.io

We’d love to hear about your use case and help you get the most out of SiteAssist!