---
title: "Perform a retry"
method: POST
path: "/retry"
tags: ["OTP"]
deprecated: true
---

# Perform a retry

`POST /retry`

> **Deprecated.**

Perform a retry if a user has not received the code.

## Request body

- RetryAuthenticationRequest
  - `customer_uuid` string, uuid, required — Your customer UUID, which can be found in the API settings in the dashboard.
  - `authentication_uuid` string, uuid, required — The authentication UUID that was returned when you created the authentication.

## Response `200`

OK

- RetryAuthenticationResponse
  - `authentication_uuid` string, uuid — The UUID of the corresponding authentication.
  - `status` 'approved' | 'denied' | 'no_attempt' | 'rate_limited' | 'expired_auth' | 'already_validated' — The status of the retry. Possible values are: * `approved` - The retry was approved and a new code was sent. * `denied` - The retry was denied. * `no_attempt` - No attempt was sent yet, so a retry cannot be completed. * `rate_limited` - The authentication was rate limited and cannot be retried. * `expired_auth` - The authentication has expired and cannot be retried. * `already_validated` - The authentication has already been validated.
  - `created_at` string, date-time
  - `next_retry_at` string, date-time — The time at which the next retry will be available.
  - `remaining_retry` integer — The number of remaining retries.

## Other responses

- `400` — Bad Request

## Changes

- **2025-04-28** `187cbbb71a45` — 1 info
  - endpoint deprecated
- **2024-10-30** `1ec3fb120b7d` — 1 info
  - added the non-success response with the status `400`
- **2024-10-28** `ad06e2f6b7f4` — 1 info
  - removed the non-success response with the status `400`
- **2024-10-28** `7331a813b16b` — 2 warning
  - added the new `invalid_sender_id` enum value to the `code` response property for the response status `400`
  - added the new `unauthorized_sender_id` enum value to the `code` response property for the response status `400`
- **2024-04-23** `8864239c4906` — 1 warning
  - added the new `suspended_account` enum value to the `code` response property for the response status `400`

[Full history](https://skmtc.dev/ding-live/apis/ding/changes/retry/post.md)

---

[API](https://skmtc.dev/ding-live/apis/ding.md) · [All operations](https://skmtc.dev/ding-live/apis/ding/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ding-live/ding/revisions/060cbae07b8f/schema)
