curl -X GET "https://prod.api.unleeshed.ai/partner/v1/personas/persona-abc-123" \
-H "X-Api-Key: pk_live_your_api_key"
const response = await fetch(
'https://prod.api.unleeshed.ai/partner/v1/personas/persona-abc-123',
{ headers: { 'X-Api-Key': 'pk_live_your_api_key' } }
);
import requests
response = requests.get(
"https://prod.api.unleeshed.ai/partner/v1/personas/persona-abc-123",
headers={"X-Api-Key": "pk_live_your_api_key"}
)
{
"success": true,
"data": {
"id": "persona-abc-123",
"name": "Coach Mike",
"image_url": "https://storage.unleeshed.ai/personas/coach-mike.jpg",
"bio": "Former NFL defensive coordinator with 25 years of coaching experience. Known for developing Pro Bowl linebackers and creating innovative blitz packages. Now sharing insights on the modern game.",
"expertise": [
"NFL",
"College Football",
"Defensive Strategy",
"Player Development"
],
"social_links": {
"twitter": "https://twitter.com/coachmike",
"instagram": "https://instagram.com/coachmike"
}
}
}
{
"success": false,
"error": {
"code": "not_licensed",
"message": "No active license for this persona"
}
}
{
"success": false,
"error": {
"code": "not_found",
"message": "Persona not found"
}
}
Personas
Get Persona
Get detailed information about a specific persona
GET
/
partner
/
v1
/
personas
/
{id}
curl -X GET "https://prod.api.unleeshed.ai/partner/v1/personas/persona-abc-123" \
-H "X-Api-Key: pk_live_your_api_key"
const response = await fetch(
'https://prod.api.unleeshed.ai/partner/v1/personas/persona-abc-123',
{ headers: { 'X-Api-Key': 'pk_live_your_api_key' } }
);
import requests
response = requests.get(
"https://prod.api.unleeshed.ai/partner/v1/personas/persona-abc-123",
headers={"X-Api-Key": "pk_live_your_api_key"}
)
{
"success": true,
"data": {
"id": "persona-abc-123",
"name": "Coach Mike",
"image_url": "https://storage.unleeshed.ai/personas/coach-mike.jpg",
"bio": "Former NFL defensive coordinator with 25 years of coaching experience. Known for developing Pro Bowl linebackers and creating innovative blitz packages. Now sharing insights on the modern game.",
"expertise": [
"NFL",
"College Football",
"Defensive Strategy",
"Player Development"
],
"social_links": {
"twitter": "https://twitter.com/coachmike",
"instagram": "https://instagram.com/coachmike"
}
}
}
{
"success": false,
"error": {
"code": "not_licensed",
"message": "No active license for this persona"
}
}
{
"success": false,
"error": {
"code": "not_found",
"message": "Persona not found"
}
}
Path Parameters
Response
Returns full persona profile including bio, expertise, and social links.curl -X GET "https://prod.api.unleeshed.ai/partner/v1/personas/persona-abc-123" \
-H "X-Api-Key: pk_live_your_api_key"
const response = await fetch(
'https://prod.api.unleeshed.ai/partner/v1/personas/persona-abc-123',
{ headers: { 'X-Api-Key': 'pk_live_your_api_key' } }
);
import requests
response = requests.get(
"https://prod.api.unleeshed.ai/partner/v1/personas/persona-abc-123",
headers={"X-Api-Key": "pk_live_your_api_key"}
)
{
"success": true,
"data": {
"id": "persona-abc-123",
"name": "Coach Mike",
"image_url": "https://storage.unleeshed.ai/personas/coach-mike.jpg",
"bio": "Former NFL defensive coordinator with 25 years of coaching experience. Known for developing Pro Bowl linebackers and creating innovative blitz packages. Now sharing insights on the modern game.",
"expertise": [
"NFL",
"College Football",
"Defensive Strategy",
"Player Development"
],
"social_links": {
"twitter": "https://twitter.com/coachmike",
"instagram": "https://instagram.com/coachmike"
}
}
}
{
"success": false,
"error": {
"code": "not_licensed",
"message": "No active license for this persona"
}
}
{
"success": false,
"error": {
"code": "not_found",
"message": "Persona not found"
}
}