Developer API
Send a DM with one POST.
A production-grade REST API for Telegram and X automation. Bearer auth, scoped keys, idempotency, rate-limit headers, outbound webhooks. No SDK required.
- JSON over HTTPS
- Low-latency responses
- Reliable by design
Same endpoint. Four languages.
One JSON contract. Copy, paste, ship. The full OpenAPI spec covers every endpoint, every error, every webhook payload.
curl -X POST https://api.crmsolid.com/v1/messages/send \ -H "Authorization: Bearer cs_live_***" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{"account_id":7421,"to":"@sarah_miller","text":"Welcome aboard"}'Full reference + error catalog at docs.pinlyx.com/api
Scoped keys. Least privilege by default.
Generate scoped API keys: read-only for analytics dashboards, write-scoped for production senders, manage-scoped for ops automation. Rotate without downtime; keys overlap during cutover so nothing breaks.
Bearer authentication
Pass
Authorization: Bearer cs_live_…on every request. Live and test keys are visually distinct so production flows stay safe.Scoped permissions
Pick the smallest set of scopes a key needs. A leaked dashboard key can never send a message.
Zero-downtime rotation
Issue a replacement, deploy, then revoke the old key. Both are valid during the overlap window; no thundering-herd 401s.
read:contactsList, search, and read contacts.read:messagesStream chat history & inbox threads.read:analyticsPull funnel, sequence, and account stats.write:messagesSend DMs and bulk broadcasts.write:contactsCreate, update, tag, segment contacts.manage:sequencesStart, pause, resume drip sequences.manage:webhooksRegister and rotate webhook endpoints.
Backpressure that tells you everything.
Idempotency keys mean retries are safe: never send the same message twice. Rate-limit headers tell your client when to slow down before a 429 ever lands.
- X-RateLimit-Limit
- 600
- # requests per minute, per key
- X-RateLimit-Remaining
- 588
- # left in the current window
- X-RateLimit-Reset
- 42
- # seconds until the window resets
- Retry-After
- 12
- # on 429, wait this many seconds
Idempotency keys
Pass
Idempotency-Keyon every write. Retries return the original response. No duplicate messages, ever.Adaptive rate limits
Defaults: 600 req/min and 50 sends/day per Telegram account, with auto flood-wait handling. Headers expose remaining budget so you never have to guess.
Stable error catalog
Every error returns a stable
codeyou can branch on, plus a humanmessageyou can surface. RFC 7807 problem-detail format.
Outbound webhooks for every event.
Receive every CRM event in real time. HMAC-SHA256 signatures, automatic retries with exponential backoff, and a delivery log you can replay.
- message.sent
- message.failed
- contact.created
- contact.tagged
- sequence.started
- sequence.paused
- job.completed
- subscription.upgraded
{ "event": "message.received", "id": "evt_01HKQ9R2X7", "created_at": "2026-05-06T14:32:18Z", "account_id": 7421, "contact": "@sarah_miller", "text": "Hey, can you send the demo?", "thread_id": "th_5829"}const sig = crypto.createHmac('sha256', secret).update(rawBody).digest('hex');if (sig !== headers['x-signature']) return 401;Ready when you are
Build with Pinlyx. Ship in minutes.
Generate a sandbox key, paste a curl, watch the message land. The full production contract is the same shape. No rewrites between dev and prod.
- Free sandbox tier
- Live keys in < 60 seconds
- HMAC-signed webhooks