---
title: "Test channel connectivity"
method: POST
path: "/v1/agents/{agent_id}/channels/{channel_id}/test"
tags: ["Agent Channels"]
---

# Test channel connectivity

`POST /v1/agents/{agent_id}/channels/{channel_id}/test`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/agents/{agent_id}/channels/{channel_id}/test`
- Auth: HTTP bearer

Send a test message through the channel to verify connectivity and credentials.

## Path parameters

- `agent_id` string, uuid, required
- `channel_id` string, uuid, required

## Request body

- object
  - `external_chat_id` string: Optional chat ID to send the test message to
  - `content` string: Optional custom test message content

## Response `200`

Test result

- object
  - `success` boolean
  - `message` string, nullable
  - `error` string, nullable

## Other responses

- `401`: Authentication required or invalid
- `404`: Resource not found

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
