---
title: "Enviar Boleto por SMS"
method: POST
path: "/v1/bank_billets/{id}/send_sms"
tags: ["Boletos"]
---

# Enviar Boleto por SMS

`POST /v1/bank_billets/{id}/send_sms`

## Request

- Base URL: `https://api-sandbox.kobana.com.br`
- URL: `https://api-sandbox.kobana.com.br/v1/bank_billets/{id}/send_sms`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/kobana/apis/cobran-as/docs/v1/bank_billets/:id/send_sms/post.ts> (a function with typed inputs; its response is checked against the schema)

Enviar boleto por sms

## Path parameters

- `id` string, required

## Headers

- `User-Agent` string
- `X-Idempotency-Key` string

## Request body

- BankBilletSendSmsObject
  - `form` object, required: Formulário de SMS.
    - `phone_to` string: Telefone (com DDD) do pagador
    - `message` string: Mensagem de sms
    - `sms_notification_id` integer, required: ID da notificação
    - `sms_account_id` integer: ID da conta de sms

## Response `200`

SMS enviado com sucesso

## Other responses

- `400`: Falha ao enviar o sms

---

[API](https://skmtc.dev/kobana/apis/cobran-as.md) - [All operations](https://skmtc.dev/kobana/apis/cobran-as/llms.txt) - [OpenAPI document](https://skmtc.dev/kobana/apis/cobran-as/revisions/728c362ec4d7?raw)
