# SMS

> Report a visit that came from an SMS campaign link.

## Click

Send this `INTERACTION` event when a visitor lands on your site from an SMS campaign link. The fields are derived from the UTM parameters of the landing page URL.

Given a landing page URL like:

`https://example.com/?utm_source=segmentify&utm_campaign=sms_0000000000000000&utm_content=static&utm_medium=sms`

| UTM parameter | Event field | Example |
| --- | --- | --- |
| `utm_medium` | `type` | `sms` |
| `utm_campaign` | `instanceId` | `sms_0000000000000000` |
| `utm_content` | `interactionId` | `static` |

The API key is sent as the `apiKey` query parameter and as the `x-sfy-api-key` header.

**Example body**

```json
{
  "name": "INTERACTION",
  "userId": "1234567890123456789",
  "sessionId": "9876543210987654321",
  "device": "PC",
  "lang": "EN",
  "currency": "EUR",
  "nextPage": false,
  "dnp": false,
  "params": {},
  "os": "macOS",
  "region": "",
  "email": "",
  "type": "sms",
  "interactionId": "static",
  "instanceId": "sms_0000000000000000"
}
```

:::tip[Try it]
Send this request from the [Events API reference](/reference/events/): pick **SMS / Click** in the request body examples of *Send events*.
:::
