Skip to content
Open app

Quickstart

Get from zero to your first API call in about five minutes. The CRM Solid Public API gives you programmatic access to your contacts, Telegram messaging, sales pipeline, tasks, finance, and email inbox.

All requests go to the production host:

https://api.crmsolid.com

Every request must include an Authorization: Bearer <token> header, where the token is a CRM Solid API key. Keys use the format csk_live_<keyId><secret> — for example csk_live_xxx.

  1. Create an API key.

    Open the CRM Solid app at app.crmsolid.com and go to Settings → Developers. Create a new key and grant it the scopes you need (for example contacts:read or telegram:send). Copy the full csk_live_… value immediately — the secret is only shown once.

  2. Make your first request.

    Verify your key by calling GET https://api.crmsolid.com/v1/me. This returns the workspace identity associated with the key and is the simplest connectivity smoke-test — any valid key may call it, no specific scope required.

    Terminal window
    curl -s https://api.crmsolid.com/v1/me \
    -H "Authorization: Bearer csk_live_xxx"

    A successful response looks like this:

    {
    "id": 42,
    "email": "[email protected]",
    "name": "Acme Inc.",
    "createdAt": "2024-01-15T09:00:00Z",
    "apiKey": {
    "keyId": "abc123def456",
    "scopes": ["contacts:read", "telegram:send"]
    }
    }
  3. Send a Telegram message.

    With a key that has the telegram:send scope, enqueue an outbound Telegram message via POST https://api.crmsolid.com/v1/telegram/messages. The recipient is resolved from contactId, username, or telegramUserId — supply at least one. The accountId must be one of your connected Telegram accounts. The request returns immediately with the queued job (202 Accepted); the background worker delivers it.

    Terminal window
    curl -s -X POST https://api.crmsolid.com/v1/telegram/messages \
    -H "Authorization: Bearer csk_live_xxx" \
    -H "Content-Type: application/json" \
    -d '{
    "accountId": 7,
    "username": "john_doe",
    "text": "Hi from Acme Inc.!",
    "runAt": null
    }'
  • Authentication — key formats, scopes, and rate limit headers (X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset).
  • API reference — the full list of endpoints for contacts, messages, deals, tasks, finance, and email.