Messages and channels
Use the base URL https://app.pulsechat.ru/api/v1, or your installation's origin followed by /api/v1. Every endpoint on this page requires bot or app installation authentication.
Create a message
POST /bots/messages returns 201 Created with the created message object.
chat:write permits new messages and replies. chat:write:thread alone requires parent_id. Replies to a reply are rejected. The bot must have posting access. Archived channels, read-only channels, direct-message resolution, and encrypted channel plaintext access are unavailable through this send contract.
The response is a message object. The following excerpt shows commonly used fields. Pulse may return additional message and sender fields.
The request field is text and the response field is content. Save id for updates, deletion, or replies. See apps for interactive messages.
Update a message
PATCH /bots/messages/{id} accepts {"text":"Updated release details"} and returns 200 OK with the updated message object.
A bot token needs chat:write. An installation token needs chat:update. Only messages authored by the credential's bot in its workspace can be changed. Updates are limited to 24 hours after message creation and require current posting access to the channel. Deleted messages cannot be updated. This endpoint accepts text changes.
Delete a message
DELETE /bots/messages/{id} returns 200 OK with the deleted message object. The message becomes a deletion marker with type set to deleted.
A bot token needs chat:write. An installation token needs chat:delete. Ownership, workspace, encryption, and the 24-hour window apply. Current posting access is checked when deleting an existing message. A message already marked deleted is returned again when the other applicable checks pass.
List channels
GET /bots/channels requires channels:read and returns 200 OK.
The list includes active public channels and channels the bot has joined, ordered newest first. Continue with cursor until next_cursor is null. A listed channel can still reject posting. Send requests use name.
Errors
See request handling for retry behavior and idempotency.