Signup
Resend an authentication attempt's code
Email a new verification code for a pending authentication attempt.
POST
/
v2
/
signup
/
authentication-attempts
/
{id}
/
resend
Resend an authentication attempt's code
curl --request POST \
--url https://api.runpod.io/v2/signup/authentication-attempts/{id}/resend \
--header 'Content-Type: application/json' \
--data '
{
"codeVerifier": "dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk"
}
'import requests
url = "https://api.runpod.io/v2/signup/authentication-attempts/{id}/resend"
payload = { "codeVerifier": "dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({codeVerifier: 'dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk'})
};
fetch('https://api.runpod.io/v2/signup/authentication-attempts/{id}/resend', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.runpod.io/v2/signup/authentication-attempts/{id}/resend",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'codeVerifier' => 'dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.runpod.io/v2/signup/authentication-attempts/{id}/resend"
payload := strings.NewReader("{\n \"codeVerifier\": \"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.runpod.io/v2/signup/authentication-attempts/{id}/resend")
.header("Content-Type", "application/json")
.body("{\n \"codeVerifier\": \"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runpod.io/v2/signup/authentication-attempts/{id}/resend")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"codeVerifier\": \"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk\"\n}"
response = http.request(request)
puts response.read_body{
"attemptId": "att_3kq9x81mzp",
"expiresAt": "2026-10-16T18:10:00Z",
"resendAfter": "2026-10-16T18:00:30Z"
}{
"title": "Not Found",
"status": 404,
"detail": "pod not found",
"errors": [
"$: additional properties 'bogus' not allowed"
]
}{
"title": "Not Found",
"status": 404,
"detail": "pod not found",
"errors": [
"$: additional properties 'bogus' not allowed"
]
}{
"title": "Not Found",
"status": 404,
"detail": "pod not found",
"errors": [
"$: additional properties 'bogus' not allowed"
]
}{
"title": "Unprocessable Entity",
"status": 422,
"detail": "Request validation failed."
}{
"title": "Too Many Requests",
"status": 429,
"detail": "rate limit exceeded for the minute window"
}{
"title": "Not Found",
"status": 404,
"detail": "pod not found",
"errors": [
"$: additional properties 'bogus' not allowed"
]
}Path Parameters
The attemptId returned when the attempt started.
Required string length:
1 - 64Body
application/json
The random secret whose SHA-256 hash was sent as codeChallenge.
Pattern:
^[A-Za-z0-9._~-]{43,128}$Example:
"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk"
Response
OK. A new code was emailed.
Identifies the attempt in verify and resend.
Example:
"att_3kq9x81mzp"
When the attempt stops accepting codes. Resending does not extend it.
Example:
"2026-10-16T18:10:00Z"
Earliest time a resend is accepted.
Example:
"2026-10-16T18:00:30Z"
Last modified on November 10, 2026
⌘I
Resend an authentication attempt's code
curl --request POST \
--url https://api.runpod.io/v2/signup/authentication-attempts/{id}/resend \
--header 'Content-Type: application/json' \
--data '
{
"codeVerifier": "dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk"
}
'import requests
url = "https://api.runpod.io/v2/signup/authentication-attempts/{id}/resend"
payload = { "codeVerifier": "dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({codeVerifier: 'dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk'})
};
fetch('https://api.runpod.io/v2/signup/authentication-attempts/{id}/resend', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.runpod.io/v2/signup/authentication-attempts/{id}/resend",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'codeVerifier' => 'dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.runpod.io/v2/signup/authentication-attempts/{id}/resend"
payload := strings.NewReader("{\n \"codeVerifier\": \"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.runpod.io/v2/signup/authentication-attempts/{id}/resend")
.header("Content-Type", "application/json")
.body("{\n \"codeVerifier\": \"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runpod.io/v2/signup/authentication-attempts/{id}/resend")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"codeVerifier\": \"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk\"\n}"
response = http.request(request)
puts response.read_body{
"attemptId": "att_3kq9x81mzp",
"expiresAt": "2026-10-16T18:10:00Z",
"resendAfter": "2026-10-16T18:00:30Z"
}{
"title": "Not Found",
"status": 404,
"detail": "pod not found",
"errors": [
"$: additional properties 'bogus' not allowed"
]
}{
"title": "Not Found",
"status": 404,
"detail": "pod not found",
"errors": [
"$: additional properties 'bogus' not allowed"
]
}{
"title": "Not Found",
"status": 404,
"detail": "pod not found",
"errors": [
"$: additional properties 'bogus' not allowed"
]
}{
"title": "Unprocessable Entity",
"status": 422,
"detail": "Request validation failed."
}{
"title": "Too Many Requests",
"status": 429,
"detail": "rate limit exceeded for the minute window"
}{
"title": "Not Found",
"status": 404,
"detail": "pod not found",
"errors": [
"$: additional properties 'bogus' not allowed"
]
}