Skip to main content
DocsСправочник по API

Справочник по API

Используйте BeeCastly на основе нашего полнофункционального REST API. Управляйте контактами, отправляйте сообщения, создавайте кампании и программно настраивайте веб-перехватчики.

Базовый URL

https://beecastly.com/api/v1

Every endpoint that accepts an API key lives under /api/v1. The key identifies your workspace — there is no tenant header to send.

Быстрый старт

curl "https://beecastly.com/api/v1/contacts?page=1&limit=20" \
  -H "x-api-key: YOUR_API_KEY"

Аутентификация

Send your API key in the x-api-key header. Create keys under Settings → API Keys and choose their access when you create them:

  • Read only — GET requests.
  • Read & write — also POST: send messages, create contacts.

См. полное руководство по аутентификации →

Конечные точки API

Формат ответа

Каждый ответ представляет собой JSON с одинаковой структурой:

// Success
{
  "success": true,
  "data": { ... }
}

// Error
{
  "success": false,
  "error": "Error message description"
}

Ограничения ставок

Two limits apply to every API-key request, both set by your plan:

  • Per key, per minute — the plan's ceiling, or the key's own limit if lower. Over it: 429 with code API_KEY_RATE_LIMITED.
  • Per workspace, per day — shared by all your keys, resets at 00:00 UTC. Over it: 429 with code API_DAILY_LIMIT and a Retry-After header. Every response carries X-Daily-Limit and X-Daily-Remaining.
PlanRequests / minute (per key)Requests / day (workspace)Webhook endpoints
Free51002
Starter202,50010
Growth10015,00030
Pro30060,000100
Agency1,000500,000Unlimited

The BeeCastly Chrome extensions use their own keys and do not count toward the daily allowance.

API Reference - BeeCastly Documentation | BeeCastly