---
title: "Send SMS using a template"
method: POST
path: "/v2/{sid}/messages"
tags: ["Single SMS API"]
---

# Send SMS using a template

`POST /v2/{sid}/messages`

SMS is a simple and cost-effective way to communicate with customers. Before starting to send the SMS APIs, make sure that you have configured the SMS channel in Kalyra.io. This section details how to send your first outbound SMS using an API request.

To send marketing messages use "type" value as "MKT".  
To send transactional messages use "type" value as "TXN".  
To send otp messages use "type" value as "OTP".

## Path parameters

- `sid` string, required

## Headers

- `api-key` string, required
- `Content-Type` string, required

## Response `200`

Successful response

---

[API](https://skmtc.net/kaleyra/apis/kaleyra-io-sms-apis.md) · [All operations](https://skmtc.net/kaleyra/apis/kaleyra-io-sms-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kaleyra/kaleyra-io-sms-apis/versions/d9b785884d03/schema)
