Manage Your Agents With the API.

Create and update agents, add training content and read conversations from your own code. Each API key gets only the permissions you choose.

  • 12 scopes across agents, content and conversations
  • Set an expiry date, or revoke anytime
  • OAuth for tools like Zapier and Make

A list of three API keys, each with its own scopes and expiry date, beside a curl request that sends a key as a bearer token to the AssistLoop API.

What the API covers.

Three parts of AssistLoop are available through the API: your agents, their training content and their conversations.

  • Manage agents

    View, create, edit and delete agents, including their settings and model.

  • Manage training content

    Upload files, start website crawls, retrain sources and remove them.

  • Work with conversations

    List conversations and messages, or start new ones. Reply as a person, close chats and manage webhooks.

  • Scoped keys

    Each key gets only the scopes you pick, like agent:read or source:create. A read-only key can’t delete anything.

  • Expiry dates

    Set a key to expire in 30 days, 90 days, a year, or on a date you choose. Revoke it at any time.

  • Owner only

    Only the organisation owner can create or revoke keys.

Make your first call in three steps.

  1. 01

    Create a key

    On the API keys page, name the key, pick its scopes and set an expiry. Copy it straight away: it’s only shown once.

  2. 02

    Call the API

    Send the key as a bearer token over HTTPS. No SDK needed.

  3. 03

    Rotate your keys

    Create a new key, move your systems to it, then revoke the old one.

The API in detail.

Scopes limit what a key can do

Some APIs give every key full access to the account. If that key leaks, everything is exposed.

Here, each key gets only the scopes you choose. There are 12, in three groups: agents, training content and conversations. Viewing, creating, editing and deleting are separate scopes in each group, so a key that only reads can’t delete anything.

This matters most for keys that end up in less careful places: a CI pipeline, an internal dashboard, a shared environment file. Give each one only what its job needs.

12 scopes in three groups (agents, training content and conversations), with view, create, edit and delete kept separate. A read-only key can’t delete anything.

Set an expiry date

When you create a key, choose when it expires: in 30 days, 90 days, a year, on a date you pick, or never. Setting a date is a good habit.

Keys that never expire tend to outlive the project, and the person, they were made for. Later, nobody knows what still uses them, so nobody revokes them. An expiry date makes that decision for you.

Only the organisation owner can create or revoke keys, so team members can’t hand out API access.

Keys can expire in 30 days, 90 days, a year or on a date you choose. Only the organisation owner can create or revoke them.

When the API helps

Running many agents. If you’re an agency with agents for many clients, or a platform that creates one per customer, the API lets you create and set up agents as part of your own onboarding.

Keeping training content current. Retraining is a manual step in the dashboard. If your docs live in a repository, your pipeline can upload and retrain sources through the API whenever they change.

Using your own tools. With the conversation scopes, you can pull conversations into your own reports, or reply as a person from another tool.

Retraining is manual in the dashboard. Through the API, your pipeline can upload and retrain sources whenever your docs change.

API keys or OAuth

Use an API key to automate your own organisation. Use OAuth when a tool needs to connect to someone’s AssistLoop account without them pasting in a key.

This is how automation tools like Zapier and Make connect: the user signs in, sees which permissions the tool is asking for, and approves them.

If you want the agent to call your systems during a chat, rather than you calling AssistLoop, see agent actions. For Calendly and HubSpot, see integrations.

Use an API key to automate your own organisation. Use OAuth when a tool, like Zapier or Make, connects to someone’s account.

Frequently asked questions.

Still stuck?

[email protected]

Yes. It’s a REST API over HTTPS, authenticated with a bearer token. It covers agents, training content and conversations.

Each key has only the scopes you give it, and viewing, creating, editing and deleting are separate scopes. You can set an expiry date, and revoke a key at any time.

Only the organisation owner. Team members can’t create or revoke keys.

An API key is for automating your own organisation. OAuth is for tools, like Zapier and Make, that connect to someone’s account: the user approves the access instead of sharing a key.

Yes, through the API. Your pipeline can upload and retrain sources when your docs change, instead of someone retraining by hand in the dashboard.

No. API keys are included on paid plans, not on the free plan.

Get started

Build on the AssistLoop API.

Create a scoped key on any paid plan and make your first call.