Start the owner OAuth flow (owner only)
curl --request GET \
--url https://api.persona.hasanraiyan.me/api/v1/developer/mcps/{mcpId}/oauth/owner/authorize \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.persona.hasanraiyan.me/api/v1/developer/mcps/{mcpId}/oauth/owner/authorize"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.persona.hasanraiyan.me/api/v1/developer/mcps/{mcpId}/oauth/owner/authorize', 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.persona.hasanraiyan.me/api/v1/developer/mcps/{mcpId}/oauth/owner/authorize",
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.persona.hasanraiyan.me/api/v1/developer/mcps/{mcpId}/oauth/owner/authorize"
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.persona.hasanraiyan.me/api/v1/developer/mcps/{mcpId}/oauth/owner/authorize")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.persona.hasanraiyan.me/api/v1/developer/mcps/{mcpId}/oauth/owner/authorize")
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_bodyDeveloper
Start the owner OAuth flow (owner only)
No separate Developer callback route exists — the OAuth redirect URI is a single, pre-registered URL that completes via the existing Persona callback route regardless of who initiated the flow, since the signed state alone carries the initiating context.
GET
/
api
/
v1
/
developer
/
mcps
/
{mcpId}
/
oauth
/
owner
/
authorize
Start the owner OAuth flow (owner only)
curl --request GET \
--url https://api.persona.hasanraiyan.me/api/v1/developer/mcps/{mcpId}/oauth/owner/authorize \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.persona.hasanraiyan.me/api/v1/developer/mcps/{mcpId}/oauth/owner/authorize"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.persona.hasanraiyan.me/api/v1/developer/mcps/{mcpId}/oauth/owner/authorize', 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.persona.hasanraiyan.me/api/v1/developer/mcps/{mcpId}/oauth/owner/authorize",
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.persona.hasanraiyan.me/api/v1/developer/mcps/{mcpId}/oauth/owner/authorize"
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.persona.hasanraiyan.me/api/v1/developer/mcps/{mcpId}/oauth/owner/authorize")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.persona.hasanraiyan.me/api/v1/developer/mcps/{mcpId}/oauth/owner/authorize")
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_bodyAuthorizations
Developer Platform Project credential, minted via POST /api/v1/projects/{projectId}/credentials. Send as Authorization: Bearer <keyId>.<secret>. Optionally pair with the x-persona-external-user-id header to act on behalf of one of the Project's own external users. This credential is a server-side secret — see the Integration Guide.
Path Parameters
Response
Authorization URL