API Overview
1 min read
13 views
Dec 24, 2025
Gramsea API
Access Gramsea functionality programmatically via our REST API.
Authentication
The API uses Bearer token authentication. Create tokens in your API Tokens section.
Authorization: Bearer your-api-token
Base URL
https://your-domain.com/api/v1
Available Endpoints
User
GET /user- Get profileGET /user/credit- Get credit balance
Bots
GET /bots- List botsPOST /bots- Create botGET /bots/{id}- Get botPUT /bots/{id}- Update botDELETE /bots/{id}- Delete botPOST /bots/{id}/activate- Activate botPOST /bots/{id}/deactivate- Deactivate bot
Bot Messages
GET /bots/{id}/messages- List messagesPOST /bots/{id}/messages- Create messagePUT /bots/{id}/messages/{messageId}- Update messageDELETE /bots/{id}/messages/{messageId}- Delete message
Response Format
All responses are JSON. Successful responses include a data key, errors include an error key.
Was this article helpful? Thank you for your feedback!