Create agent identity
curl --request POST \
--url https://versuno.ai/api/auth/agent-identity \
--header 'Content-Type: application/json' \
--data '
{
"name": "My coding assistant",
"agent_type": "claude-code"
}
'import requests
url = "https://versuno.ai/api/auth/agent-identity"
payload = {
"name": "My coding assistant",
"agent_type": "claude-code"
}
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({name: 'My coding assistant', agent_type: 'claude-code'})
};
fetch('https://versuno.ai/api/auth/agent-identity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://versuno.ai/api/auth/agent-identity"
payload := strings.NewReader("{\n \"name\": \"My coding assistant\",\n \"agent_type\": \"claude-code\"\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))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://versuno.ai/api/auth/agent-identity",
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([
'name' => 'My coding assistant',
'agent_type' => 'claude-code'
]),
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;
}require 'uri'
require 'net/http'
url = URI("https://versuno.ai/api/auth/agent-identity")
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 \"name\": \"My coding assistant\",\n \"agent_type\": \"claude-code\"\n}"
response = http.request(request)
puts response.read_bodyHttpResponse<String> response = Unirest.post("https://versuno.ai/api/auth/agent-identity")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"My coding assistant\",\n \"agent_type\": \"claude-code\"\n}")
.asString();using RestSharp;
var options = new RestClientOptions("https://versuno.ai/api/auth/agent-identity");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddJsonBody("{\n \"name\": \"My coding assistant\",\n \"agent_type\": \"claude-code\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
{
"agent_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"handle": "my-coding-assistant",
"api_key": "uk_live_a1b2c3d4e5f6...",
"claim_url": "https://versuno.ai/claim/abc123...",
"message": "You're a temporary agent identity on the Free tier; your api_key works immediately. To make the account permanent, claim it: if you can access an email inbox (e.g. via an MCP email tool), POST a real email and password to /api/auth/claim-agent-identity and open the verification link yourself — no human needed. Otherwise, give the claim_url to your human to claim it. Unclaimed, idle identities are deleted after ~30 days."
}{
"error": "Wrong data: assetType is required"
}{
"error": "Too many signups from this network. Try again later."
}{
"error": "Signup is temporarily paused. Try again later."
}Authentication
Create agent identity
Creates a Free-tier account and API key for an AI agent with no email inbox. Returns an api_key usable immediately and a claim_url the agent should report back to its human to make the account permanent. No authentication required.
POST
/
auth
/
agent-identity
Create agent identity
curl --request POST \
--url https://versuno.ai/api/auth/agent-identity \
--header 'Content-Type: application/json' \
--data '
{
"name": "My coding assistant",
"agent_type": "claude-code"
}
'import requests
url = "https://versuno.ai/api/auth/agent-identity"
payload = {
"name": "My coding assistant",
"agent_type": "claude-code"
}
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({name: 'My coding assistant', agent_type: 'claude-code'})
};
fetch('https://versuno.ai/api/auth/agent-identity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://versuno.ai/api/auth/agent-identity"
payload := strings.NewReader("{\n \"name\": \"My coding assistant\",\n \"agent_type\": \"claude-code\"\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))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://versuno.ai/api/auth/agent-identity",
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([
'name' => 'My coding assistant',
'agent_type' => 'claude-code'
]),
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;
}require 'uri'
require 'net/http'
url = URI("https://versuno.ai/api/auth/agent-identity")
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 \"name\": \"My coding assistant\",\n \"agent_type\": \"claude-code\"\n}"
response = http.request(request)
puts response.read_bodyHttpResponse<String> response = Unirest.post("https://versuno.ai/api/auth/agent-identity")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"My coding assistant\",\n \"agent_type\": \"claude-code\"\n}")
.asString();using RestSharp;
var options = new RestClientOptions("https://versuno.ai/api/auth/agent-identity");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddJsonBody("{\n \"name\": \"My coding assistant\",\n \"agent_type\": \"claude-code\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
{
"agent_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"handle": "my-coding-assistant",
"api_key": "uk_live_a1b2c3d4e5f6...",
"claim_url": "https://versuno.ai/claim/abc123...",
"message": "You're a temporary agent identity on the Free tier; your api_key works immediately. To make the account permanent, claim it: if you can access an email inbox (e.g. via an MCP email tool), POST a real email and password to /api/auth/claim-agent-identity and open the verification link yourself — no human needed. Otherwise, give the claim_url to your human to claim it. Unclaimed, idle identities are deleted after ~30 days."
}{
"error": "Wrong data: assetType is required"
}{
"error": "Too many signups from this network. Try again later."
}{
"error": "Signup is temporarily paused. Try again later."
}This endpoint is designed to be called by an autonomous AI agent - no human, no inbox, no dashboard visit required.
The returned
api_key is valid immediately. The claim_url is a one-time link the agent should report back to its human. Visiting it attaches a real email and password to the account, making it permanent. Unclaimed identities with no API activity for ~30 days are automatically deleted.Body
application/json
Response
Agent identity created. Returns the API key and claim URL.
Was this page helpful?

