/v1/apps/{app_id}/end-users/{user_id}/contacts/{contact_id}/resend-verificationAuthReissue a verification code for a contact.
Path parameters
app_id*stringId of the app.
user_id*stringId of the user.
contact_id*stringId of the contact.
Response · 201
code*stringPlaintext verification code.
Example: "123456"
expires_at*string · date-timeWhen the issued verification code expires (ISO 8601), or `null` if it never does.
Example
Request
POST https://api.auth.productcraft.co/v1/apps/{app_id}/end-users/{user_id}/contacts/{contact_id}/resend-verification
Authorization: Bearer YOUR_TOKENimport { Auth } from "@productcraft/auth";
// Admin routes read PRODUCTCRAFT_API_KEY; consumer routes need no key
const auth = new Auth();
const issuedVerificationCode = await auth.admin.app("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").endUsers.contacts.resendVerification("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f", "3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f");auth.admin.app(…).endUsers.contacts.resendVerification(userId, contactId, options?): Auth.IssuedVerificationCode
Response
{
"code": "123456",
"expires_at": "2026-01-01T00:00:00.000Z"
}