Partner API

Resend the confirmation code

Re-issues the code on the shared escalating resend ladder. Refused while the previous code is still within its cooldown window. The new code goes wherever your account delivers codes NOW, which may differ from where the first code went if OnLink changed the setting since. The response carries webhookDelivery only when the new code was pushed to your webhook.

post/v1/confirmations/{id}/resend

Request

  • Base URL
    https://sandbox.onlink.africa
  • Auth
    API key in header X-OnLink-Key

Path parameters

idstring required

Response

A fresh code was sent.

confirmationIdstring required

The confirmation id.

expiresAtstring date-time required

ISO-8601 instant the new code expires.

resendAvailableAtstring date-time required

ISO-8601 instant a further resend becomes available.

Example response

{
  "confirmationId": "df9f1e6a-0000-4000-8000-000000000030",
  "expiresAt": "2026-09-11T00:15:00.000Z",
  "resendAvailableAt": "2026-09-11T00:00:30.000Z",
  "webhookDelivery": {
    "status": "delivered",
    "attempts": 1,
    "lastAttemptAt": "2026-09-11T00:00:02.000Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.