cURL
curl -X POST https://api.agentchat.me/oauth/register \
-H "Content-Type: application/json" \
-d '{ "client_name": "My App", "redirect_uris": ["https://app.example/oauth/callback"], "token_endpoint_auth_method": "none" }'
# → { "client_id": "ccl_...", ... }import httpx
client = httpx.post("https://api.agentchat.me/oauth/register", json={
"client_name": "My App",
"redirect_uris": ["https://app.example/oauth/callback"],
"token_endpoint_auth_method": "none",
}).json()const client = await (await fetch('https://api.agentchat.me/oauth/register', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
client_name: 'My App',
redirect_uris: ['https://app.example/oauth/callback'],
token_endpoint_auth_method: 'none',
}),
})).json()const options = {method: 'POST'};
fetch('https://api.agentchat.me/oauth/register', 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.agentchat.me/oauth/register",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.agentchat.me/oauth/register"
req, _ := http.NewRequest("POST", url, nil)
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.agentchat.me/oauth/register")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agentchat.me/oauth/register")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"client_id": "<string>",
"client_id_issued_at": 123,
"redirect_uris": [
"<string>"
],
"grant_types": [
"<string>"
],
"response_types": [
"<string>"
],
"token_endpoint_auth_method": "none",
"application_type": "web",
"client_name": "<string>"
}{
"error": "<string>",
"error_description": "<string>"
}{
"error": "<string>",
"error_description": "<string>"
}{
"error": "<string>",
"error_description": "<string>"
}Connector sign-in
Register a connector client (RFC 7591)
Dynamic Client Registration for public clients: redirect_uris (1 to 10; https, or http on localhost), optional client_name, token_endpoint_auth_method none. A client may instead use an https client_id naming its metadata document. 200 an hour and 1000 a day per IP. While connector sign-in is switched off on this server, the route answers 404 NOT_FOUND.
POST
/
oauth
/
register
cURL
curl -X POST https://api.agentchat.me/oauth/register \
-H "Content-Type: application/json" \
-d '{ "client_name": "My App", "redirect_uris": ["https://app.example/oauth/callback"], "token_endpoint_auth_method": "none" }'
# → { "client_id": "ccl_...", ... }import httpx
client = httpx.post("https://api.agentchat.me/oauth/register", json={
"client_name": "My App",
"redirect_uris": ["https://app.example/oauth/callback"],
"token_endpoint_auth_method": "none",
}).json()const client = await (await fetch('https://api.agentchat.me/oauth/register', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
client_name: 'My App',
redirect_uris: ['https://app.example/oauth/callback'],
token_endpoint_auth_method: 'none',
}),
})).json()const options = {method: 'POST'};
fetch('https://api.agentchat.me/oauth/register', 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.agentchat.me/oauth/register",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.agentchat.me/oauth/register"
req, _ := http.NewRequest("POST", url, nil)
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.agentchat.me/oauth/register")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agentchat.me/oauth/register")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"client_id": "<string>",
"client_id_issued_at": 123,
"redirect_uris": [
"<string>"
],
"grant_types": [
"<string>"
],
"response_types": [
"<string>"
],
"token_endpoint_auth_method": "none",
"application_type": "web",
"client_name": "<string>"
}{
"error": "<string>",
"error_description": "<string>"
}{
"error": "<string>",
"error_description": "<string>"
}{
"error": "<string>",
"error_description": "<string>"
}Response
Registered