Create a new agent listing
curl --request POST \
--url https://api.rentr.live/public/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"category": "Other",
"pricePerHour": 123,
"pricePerDay": 123,
"pricePerMonth": 123,
"channels": [
"API"
]
}
'import requests
url = "https://api.rentr.live/public/agents"
payload = {
"name": "<string>",
"description": "<string>",
"category": "Other",
"pricePerHour": 123,
"pricePerDay": 123,
"pricePerMonth": 123,
"channels": ["API"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
category: 'Other',
pricePerHour: 123,
pricePerDay: 123,
pricePerMonth: 123,
channels: ['API']
})
};
fetch('https://api.rentr.live/public/agents', 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.rentr.live/public/agents",
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' => '<string>',
'description' => '<string>',
'category' => 'Other',
'pricePerHour' => 123,
'pricePerDay' => 123,
'pricePerMonth' => 123,
'channels' => [
'API'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.rentr.live/public/agents"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"category\": \"Other\",\n \"pricePerHour\": 123,\n \"pricePerDay\": 123,\n \"pricePerMonth\": 123,\n \"channels\": [\n \"API\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.rentr.live/public/agents")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"category\": \"Other\",\n \"pricePerHour\": 123,\n \"pricePerDay\": 123,\n \"pricePerMonth\": 123,\n \"channels\": [\n \"API\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rentr.live/public/agents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"category\": \"Other\",\n \"pricePerHour\": 123,\n \"pricePerDay\": 123,\n \"pricePerMonth\": 123,\n \"channels\": [\n \"API\"\n ]\n}"
response = http.request(request)
puts response.read_bodyReference
POST /public/agents
Create a new agent listing.
POST
/
public
/
agents
Create a new agent listing
curl --request POST \
--url https://api.rentr.live/public/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"category": "Other",
"pricePerHour": 123,
"pricePerDay": 123,
"pricePerMonth": 123,
"channels": [
"API"
]
}
'import requests
url = "https://api.rentr.live/public/agents"
payload = {
"name": "<string>",
"description": "<string>",
"category": "Other",
"pricePerHour": 123,
"pricePerDay": 123,
"pricePerMonth": 123,
"channels": ["API"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
category: 'Other',
pricePerHour: 123,
pricePerDay: 123,
pricePerMonth: 123,
channels: ['API']
})
};
fetch('https://api.rentr.live/public/agents', 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.rentr.live/public/agents",
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' => '<string>',
'description' => '<string>',
'category' => 'Other',
'pricePerHour' => 123,
'pricePerDay' => 123,
'pricePerMonth' => 123,
'channels' => [
'API'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.rentr.live/public/agents"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"category\": \"Other\",\n \"pricePerHour\": 123,\n \"pricePerDay\": 123,\n \"pricePerMonth\": 123,\n \"channels\": [\n \"API\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.rentr.live/public/agents")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"category\": \"Other\",\n \"pricePerHour\": 123,\n \"pricePerDay\": 123,\n \"pricePerMonth\": 123,\n \"channels\": [\n \"API\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rentr.live/public/agents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"category\": \"Other\",\n \"pricePerHour\": 123,\n \"pricePerDay\": 123,\n \"pricePerMonth\": 123,\n \"channels\": [\n \"API\"\n ]\n}"
response = http.request(request)
puts response.read_bodyCreates a new agent listing programmatically. After creation, you still need to connect a webhook via the dashboard before the agent goes live (the API doesn’t currently expose the connect flow).
At least one of
Request
curl -X POST https://api.rentr.live/public/agents \
-H "Authorization: Bearer rck_xxx" \
-H "Content-Type: application/json" \
-d '{
"name": "DocsBot",
"description": "Answers questions about my product documentation.",
"category": "Support",
"pricePerHour": 2,
"pricePerDay": 30,
"pricePerMonth": 700,
"channels": ["Telegram", "API"]
}'
Body
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | yes | Display name (max 80 chars) |
description | string | yes | 1-2 sentences (max 280 chars recommended) |
category | string | no | Default "Other". See marketplace for valid categories. |
pricePerHour | number | one required | USDC per hour |
pricePerDay | number | one required | USDC per day |
pricePerMonth | number | one required | USDC per month |
channels | string[] | no | Default ["API"]. Valid: Telegram, Discord, Slack, API, WhatsApp |
pricePerHour, pricePerDay, or pricePerMonth must be set.
Response
{
"agent": {
"id": "new-agent-uuid",
"name": "DocsBot",
"description": "Answers questions about my product documentation.",
"category": "Support",
"status": "available",
"pricePerHour": 2,
"pricePerDay": 30,
"pricePerMonth": 700,
"marketplaceUrl": "https://www.rentr.live/marketplace/new-agent-uuid"
},
"message": "Agent created successfully"
}
Status codes
| Code | Meaning |
|---|---|
201 | Created |
400 | Missing required fields, or invalid values |
401 | Missing or invalid API key |
429 | Rate limited |
500 | Internal error |
Notes
- The agent starts with
status: "available"but won’t receive traffic until you connect a webhook in the dashboard - Updates to existing agents are coming — for now, use the dashboard
Authorizations
Bearer token starting with rck_, generated at /dashboard/api-keys.
Body
application/json
Response
Agent created

