Signup
Verify an authentication attempt
Exchange an emailed verification code for a new Runpod API key.
POST
/
v2
/
signup
/
authentication-attempts
/
{id}
/
verify
Verify an authentication attempt
curl --request POST \
--url https://api.runpod.io/v2/signup/authentication-attempts/{id}/verify \
--header 'Content-Type: application/json' \
--data '
{
"code": "123456",
"codeVerifier": "dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk"
}
'import requests
url = "https://api.runpod.io/v2/signup/authentication-attempts/{id}/verify"
payload = {
"code": "123456",
"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({code: '123456', codeVerifier: 'dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk'})
};
fetch('https://api.runpod.io/v2/signup/authentication-attempts/{id}/verify', 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}/verify",
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([
'code' => '123456',
'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}/verify"
payload := strings.NewReader("{\n \"code\": \"123456\",\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}/verify")
.header("Content-Type", "application/json")
.body("{\n \"code\": \"123456\",\n \"codeVerifier\": \"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runpod.io/v2/signup/authentication-attempts/{id}/verify")
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 \"code\": \"123456\",\n \"codeVerifier\": \"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk\"\n}"
response = http.request(request)
puts response.read_body{
"userId": "user_2abc9xyz",
"credential": {
"id": "key_7Rk2m0pq",
"apiKey": "rpa_EXAMPLEONLYEXAMPLEONLYEXAMPLEONLY"
}
}{
"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": "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
Last modified on November 10, 2026
⌘I
Verify an authentication attempt
curl --request POST \
--url https://api.runpod.io/v2/signup/authentication-attempts/{id}/verify \
--header 'Content-Type: application/json' \
--data '
{
"code": "123456",
"codeVerifier": "dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk"
}
'import requests
url = "https://api.runpod.io/v2/signup/authentication-attempts/{id}/verify"
payload = {
"code": "123456",
"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({code: '123456', codeVerifier: 'dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk'})
};
fetch('https://api.runpod.io/v2/signup/authentication-attempts/{id}/verify', 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}/verify",
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([
'code' => '123456',
'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}/verify"
payload := strings.NewReader("{\n \"code\": \"123456\",\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}/verify")
.header("Content-Type", "application/json")
.body("{\n \"code\": \"123456\",\n \"codeVerifier\": \"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runpod.io/v2/signup/authentication-attempts/{id}/verify")
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 \"code\": \"123456\",\n \"codeVerifier\": \"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk\"\n}"
response = http.request(request)
puts response.read_body{
"userId": "user_2abc9xyz",
"credential": {
"id": "key_7Rk2m0pq",
"apiKey": "rpa_EXAMPLEONLYEXAMPLEONLYEXAMPLEONLY"
}
}{
"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": "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"
]
}