Agent Channels

Send outbound message

Send an outbound message via a registered channel.

post/v1/agents/{agent_id}/channels/{channel_id}/send

Request

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

Path parameters

agent_idstring uuid required
channel_idstring uuid required

Request body

external_chat_idstring required

External platform chat/user ID

contentstring required
reply_tostring

External message ID to reply to

Response

Message sent

idstring uuid
channel_idstring uuid
direction'inbound' | 'outbound'
external_chat_idstring
external_message_idstring
sender_namestring
contentstring
media_urlstring
is_voice_messageboolean

Whether this message was a voice message

voice_file_idstring nullable

Telegram voice file ID

voice_duration_secsinteger nullable

Duration of voice message in seconds

transcription_status'pending' | 'completed' | 'failed' nullable

Status of voice transcription

created_atstring date-time

Changes

No recorded changes to this operation across all 2 revisions of this API.