Preview a pending MCP OAuth authorization request.
curl --request GET \
--url https://api.traxy.ai/api/v1/mcp/oauth/authorize/request \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.traxy.ai/api/v1/mcp/oauth/authorize/request"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.traxy.ai/api/v1/mcp/oauth/authorize/request', 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.traxy.ai/api/v1/mcp/oauth/authorize/request",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.traxy.ai/api/v1/mcp/oauth/authorize/request"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.traxy.ai/api/v1/mcp/oauth/authorize/request")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.traxy.ai/api/v1/mcp/oauth/authorize/request")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"clientName": "Codex",
"requestedScopes": [
"leads:read"
],
"expiresAt": "2023-11-07T05:31:56Z",
"resource": "https://api.traxy.ai/api/v1/mcp"
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}OAuth and MCP transport
Preview a pending MCP OAuth authorization request.
GET
/
mcp
/
oauth
/
authorize
/
request
Preview a pending MCP OAuth authorization request.
curl --request GET \
--url https://api.traxy.ai/api/v1/mcp/oauth/authorize/request \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.traxy.ai/api/v1/mcp/oauth/authorize/request"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.traxy.ai/api/v1/mcp/oauth/authorize/request', 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.traxy.ai/api/v1/mcp/oauth/authorize/request",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.traxy.ai/api/v1/mcp/oauth/authorize/request"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.traxy.ai/api/v1/mcp/oauth/authorize/request")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.traxy.ai/api/v1/mcp/oauth/authorize/request")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"clientName": "Codex",
"requestedScopes": [
"leads:read"
],
"expiresAt": "2023-11-07T05:31:56Z",
"resource": "https://api.traxy.ai/api/v1/mcp"
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid API key.",
"status": 401,
"request_id": "<string>"
}
}Authorizations
Authenticated traxy app session token used by the consent screen.
Query Parameters
Response
Safe consent-screen metadata.
Example:
"Codex"
Maximum array length:
20Available options:
leads:read, leads:contact_read, leads:contact_enrich, leads:manage, analytics:read, icp:read, icp:manage, watchlist:read, watchlist:manage, content:read, integrations:read, integrations:manage, integrations:deliver, sync:read, agent:read, agent:run, workspace:read, audience_analytics:read, audience_analytics:request, post_qualification:manage Example:
"https://api.traxy.ai/api/v1/mcp"
Was this page helpful?