# SMS compose data

`GET /api/v1/sms/compose`

To send an SMS from a record: `people` (contacts and the company phone — `kind`, `id`, `label`, `to`, `cid`, `optout`), `templates` (`id`, `name`, `kind`, `body`), `kinds` (`k` `info` · `tacir` · `bireysel`, `l`, `d`, `off` — commercial kinds are off when the provider has no İYS filter), `footer` (commercial message line), `provider`, `vars` (placeholders).

## Query parameters

| Field | Type | Description |
|---|---|---|
| `customer_id` | integer | Company. |
| `contact_id` | integer | Contact. |
| `opportunity_id` | integer | Opportunity (its company). |
