putty
API ReferenceArtifacts

Turn the bot's auto-posting on or off

Flips the two auto-post switches. A field that is omitted keeps its current value, so a caller turning on countdowns does not also have to repeat the Receipts setting. This is the only way either switch changes after registration: nothing else in the Kit writes them, so the value here is the value the bot acts on.

PATCH
/community/bots/{id}

Flips the two auto-post switches. A field that is omitted keeps its current value, so a caller turning on countdowns does not also have to repeat the Receipts setting. This is the only way either switch changes after registration: nothing else in the Kit writes them, so the value here is the value the bot acts on.

Authorization

bearerAuth
AuthorizationBearer <token>

A bearer token. The Account routes accept a Privy access token; the MCP transport accepts an sk- API key issued by POST /account/api-keys.

In: header

Path Parameters

id*string

The bot's id.

Request Body

application/json

The switches to change.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/community/bots/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "ownerId": "string",  "platform": "telegram",  "chatId": "string",  "displayName": "string",  "chainSlug": "ethereum",  "tokenAddress": "string",  "tokenSymbol": "string",  "autoPostReceipts": true,  "postCountdowns": true,  "createdAt": "string",  "updatedAt": "string"}