Getting Started

Introduction

Welcome to the Gramsea API. This API allows you to integrate your applications with our platform to manage Telegram bots, messages, users, and more.

Authentication

All API requests require authentication using Bearer tokens. You can create tokens with specific abilities in your account settings at /app/api-tokens.

curl -H "Authorization: Bearer YOUR_API_TOKEN" \
     -H "Accept: application/json" \
     https://gramsea.com/api/v1/user

Token Abilities

Tokens can have the following abilities: `read` (view resources), `create` (create resources), `update` (modify resources), `delete` (remove resources). Each endpoint requires specific abilities.

Rate Limiting

API requests are limited to 60 requests per minute. You can check your current rate limit status in the response headers: X-RateLimit-Limit, X-RateLimit-Remaining.

We use cookies

This website uses cookies to ensure you get the best experience on our website. Learn more