Compose options

For a new e-mail: whether the mailbox is connected, the company's people with e-mail and its open projects.

GET/api/v1/emails/compose

Authorization

Authorizationheaderrequired
Bearer token: API key (sk_…), OAuth access token (mcp_…) or mobile session (xk_…).
Scope: crm.read

Query parameters

customer_idintegeroptional
Company.
opp_idintegeroptional
Project.
Request
curl "https://ornek.solk.app/api/v1/emails/compose?customer_id=1" \
  -H "Authorization: Bearer $SOLK_API_KEY"
Response
{
  "contacts": [
    {
      "email": "selin.dogan@alizepaketleme.example",
      "id": 1,
      "main": true,
      "name": "Selin Doğan",
      "title": "Satın Alma Müdürü"
    }
  ],
  "customer": {
    "id": 1,
    "name": "Alize Paketleme San. ve Tic. A.Ş."
  },
  "mailbox": {
    "connected": true,
    "email": "deniz@ornekkimya.com.tr",
    "error": "",
    "signature": false,
    "status": "ok"
  },
  "ok": true,
  "opp": null,
  "opps": [
    {
      "id": 44,
      "name": "Müşteri Takibi",
      "stage_label": "Müşteri Takibi"
    },
    {
      "id": 31,
      "name": "Mevcut Müşteri — Yenileme · 2026",
      "stage_label": "Qualify"
    }
  ]
}

Example responses were captured from a v22 installation running sample data; lists are shortened to two items.