Start with ready-made AI agents with instructions on how to manage them on the marketplace. Browse the library

MCP — Connecting External Tools

Connect external tools via MCP: find ready-made servers, attach them to your agent, and grant access to new capabilities safely.

ASCN Team
11 June 2026

In previous lessons, you controlled the agent through the ASCN interface or Telegram. The REST API opens a third way: your programs, websites, and services can interact with the agent directly.

This lets you embed the agent into your existing processes — not the other way around.


Base URL and Authentication

All requests to the ASCN API go to the base address:

https://api.clawman.ascn.ai/api/v1/workspaces/{workspace_id}

Where {workspace_id} is the unique identifier of your workspace. Find it in your ASCN account settings.

Authentication: Bearer token in the header of every request:

Authorization: Bearer {your_api_token}

The API token is generated in ASCN settings → API Access.


What You Can Do via the API

1. Send a message to the agent — just as if you typed it in the chat

2. Trigger a task programmatically — run a task without waiting for a schedule

3. Read conversation history — the latest messages in your conversation with the agent

4. Get task status — which tasks are active and when they last ran

The full version of this lesson is available only with the Personal / VIP (365 day's) / Gold (180 day's) / Business plan. Click the button and subscribe to access all lessons.
Choose a plan
By continuing to use our site, you agree to the use of cookies.