Skip to main content
POST
Resend a PIN

Authorizations

Authorization
string
header
required

An API key from the OneXtel portal, Developers → API Keys, sent as Authorization: Bearer <key>.

Headers

Idempotency-Key
string

Protects a send/resend against duplicate dispatch on retry. Replaying the same key + body within 24h returns the original response verbatim; the same key with a different body is rejected (idempotency_key_reuse); a concurrent request with the same key still in flight is rejected (idempotency_in_progress).

Path Parameters

pinId
string
required
Example:

"pin_x9k2m1qz"

Body

application/json
channels
enum<string>[]

Channels to resend on. Omit to reuse the channels of the original send.

Minimum array length: 1
Available options:
sms,
whatsapp,
email
Example:
templateParams
object

Per-send override for a WhatsApp template's non-OTP placeholders, by position. Omitted positions fall back to the template's stored default.

Example:

Response

At least one channel accepted the message.

pinId
string
Example:

"pin_x9k2m1qz"

status
enum<string>
Available options:
PENDING,
VERIFIED,
EXPIRED,
BLOCKED
Example:

"PENDING"

expiresAt
string<date-time>
Example:

"2026-08-04T10:22:03.221Z"

attemptsRemaining
integer
Example:

3

channels
object[]