Skip to main content
POST
/
v1
/
bot
/
update-info
curl -X POST https://hapi.7331.org/v1/bot/update-info \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your-bot-api-key" \
  -d '{"name": "Hansel Bot v2", "avatar_url": "https://example.com/avatar.png"}'
{
  "message": "Bot information updated successfully",
  "created_at": "2025-01-01T00:00:00Z",
  "updated_at": "2025-01-15T12:30:00Z"
}
X-API-Key
string
required
Bot API key.
name
string
Bot display name.
avatar_url
string
Bot avatar URL.

Response

message
string
required
Success message.
created_at
string
required
Entity creation time.
updated_at
string
required
Entity last update time.
curl -X POST https://hapi.7331.org/v1/bot/update-info \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your-bot-api-key" \
  -d '{"name": "Hansel Bot v2", "avatar_url": "https://example.com/avatar.png"}'
{
  "message": "Bot information updated successfully",
  "created_at": "2025-01-01T00:00:00Z",
  "updated_at": "2025-01-15T12:30:00Z"
}