---
title: "OTP status"
method: GET
path: "/v1/send/otp/{id}"
tags: ["Envio"]
---

# OTP status

`GET /v1/send/otp/{id}`

Consulta o status atual de uma mensagem OTP enviada anteriormente.
O parâmetro id aceita o ID da mensagem ou o SenderId informado no envio.
Este endpoint tem rate limit individual e permite 1000 requisições a cada 2 minutos.

## Path parameters

- `id` string, required

## Response `200`

Success

- PublicSendOtpStatusDTO — Status de uma mensagem OTP retornado pela Send API (usa SenderId).
  - `id` string, uuid
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `code` string, nullable
  - `status` 'UNDEFINED' | 'PENDING' | 'SENT' | 'RECEIVED' | 'FAILED'
  - `templateId` string, uuid
  - `companyId` string, uuid
  - `senderId` string, nullable
  - `channelId` string, uuid, nullable
  - `sentAt` string, date-time, nullable
  - `receivedAt` string, date-time, nullable
  - `contactPhoneNumber` string, nullable
  - `statusUrl` string, nullable
  - `failedReason` string, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `429` — Too Many Requests
- `500` — Server Error

---

[API](https://skmtc.net/helena/apis/core.md) · [All operations](https://skmtc.net/helena/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/helena/core/versions/811b2cdd2ec2/schema)
