---
title: "Resend 2FA PIN code over SMS"
method: POST
path: "/2fa/2/pin/{pinId}/resend"
tags: ["platform", "2fa", "pin-sending-and-verification", "send-pin-over-sms"]
---

# Resend 2FA PIN code over SMS

`POST /2fa/2/pin/{pinId}/resend`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/2fa/2/pin/{pinId}/resend`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`
  - API key in header `Authorization`
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`

If needed, you can resend the same (previously sent) PIN code over SMS.

## Path parameters

- `pinId` string, required

## Request body

- Aa47d40354ee197e21ffad52d2c543bd4f729e250360a844e476aa80deff7b6eResendPinRequest
  - `placeholders` object: Key value pairs that will be replaced during message sending. Placeholder keys should NOT contain curly brackets and should NOT contain a `pin` placeholder. Valid example: `"placeholders":{"firstName":"John"}`
  - `trackDelivery` boolean: Enables sending of delivery reports via [Subscriptions](https://www.infobip.com/docs/cpaas-x/subscriptions-management). The [retry cycle](https://www.infobip.com/docs/sms/sms-over-api#push-retry-cycle-notify-url) for when your URL becomes unavailable uses the following formula: `1min + (1min * retryNumber * retryNumber)`.

## Response `200`

successful response

- Aa47d40354ee197e21ffad52d2c543bd4f729e250360a844e476aa80deff7b6eStartAuthenticationResponse
  - `callStatus` string: Call status, e.g. `PENDING_ACCEPTED`.
  - `externalMessageId` string: Message ID used for delivery tracking.
  - `ncStatus` string: Status of sent [Number Lookup](https://www.infobip.com/docs/number-lookup). Number Lookup status can have one of the following values: `NC_DESTINATION_UNKNOWN`, `NC_DESTINATION_REACHABLE`, `NC_DESTINATION_NOT_REACHABLE`, `NC_NOT_CONFIGURED`. Contact your Account Manager, if you get the `NC_NOT_CONFIGURED` status. SMS will not be sent only if Number Lookup status is `NC_NOT_REACHABLE`.
  - `pinId` string: Sent PIN code ID.
  - `smsStatus` string: Sent SMS status. Can have one of the following values: `MESSAGE_SENT`, `MESSAGE_NOT_SENT`.
  - `to` string: Phone number to which the 2FA message will be sent. Example: `41793026727`.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `4XX`: Error responses
- `5XX`: Error responses

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
