Signup
Start an authentication attempt
Email a verification code to sign in or create a Runpod account without an API key.
POST
/
v2
/
signup
/
authentication-attempts
Start an authentication attempt
curl --request POST \
--url https://api.runpod.io/v2/signup/authentication-attempts \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"email": "owner@example.com",
"keyName": "laptop-cli",
"codeChallenge": "E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM"
}
'import requests
url = "https://api.runpod.io/v2/signup/authentication-attempts"
payload = {
"email": "owner@example.com",
"keyName": "laptop-cli",
"codeChallenge": "E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Idempotency-Key': '<idempotency-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
email: 'owner@example.com',
keyName: 'laptop-cli',
codeChallenge: 'E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM'
})
};
fetch('https://api.runpod.io/v2/signup/authentication-attempts', 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",
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([
'email' => 'owner@example.com',
'keyName' => 'laptop-cli',
'codeChallenge' => 'E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$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"
payload := strings.NewReader("{\n \"email\": \"owner@example.com\",\n \"keyName\": \"laptop-cli\",\n \"codeChallenge\": \"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
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")
.header("Idempotency-Key", "<idempotency-key>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"owner@example.com\",\n \"keyName\": \"laptop-cli\",\n \"codeChallenge\": \"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runpod.io/v2/signup/authentication-attempts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"owner@example.com\",\n \"keyName\": \"laptop-cli\",\n \"codeChallenge\": \"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM\"\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": "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"
]
}Headers
Body
application/json
Response
Created. A verification code was emailed.
Last modified on November 10, 2026
Was this page helpful?
⌘I
Start an authentication attempt
curl --request POST \
--url https://api.runpod.io/v2/signup/authentication-attempts \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"email": "owner@example.com",
"keyName": "laptop-cli",
"codeChallenge": "E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM"
}
'import requests
url = "https://api.runpod.io/v2/signup/authentication-attempts"
payload = {
"email": "owner@example.com",
"keyName": "laptop-cli",
"codeChallenge": "E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Idempotency-Key': '<idempotency-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
email: 'owner@example.com',
keyName: 'laptop-cli',
codeChallenge: 'E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM'
})
};
fetch('https://api.runpod.io/v2/signup/authentication-attempts', 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",
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([
'email' => 'owner@example.com',
'keyName' => 'laptop-cli',
'codeChallenge' => 'E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$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"
payload := strings.NewReader("{\n \"email\": \"owner@example.com\",\n \"keyName\": \"laptop-cli\",\n \"codeChallenge\": \"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
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")
.header("Idempotency-Key", "<idempotency-key>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"owner@example.com\",\n \"keyName\": \"laptop-cli\",\n \"codeChallenge\": \"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runpod.io/v2/signup/authentication-attempts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"owner@example.com\",\n \"keyName\": \"laptop-cli\",\n \"codeChallenge\": \"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM\"\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": "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"
]
}