Skip to main content
GET
/
personas
Retrieve all lists
curl --request GET \
  --url https://app.pipecorn.com/api/v2/personas \
  --header 'X-API-KEY: <api-key>'
import requests

url = "https://app.pipecorn.com/api/v2/personas"

headers = {"X-API-KEY": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};

fetch('https://app.pipecorn.com/api/v2/personas', 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://app.pipecorn.com/api/v2/personas",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);

$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://app.pipecorn.com/api/v2/personas"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("X-API-KEY", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://app.pipecorn.com/api/v2/personas")
.header("X-API-KEY", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://app.pipecorn.com/api/v2/personas")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'

response = http.request(request)
puts response.read_body
[
  {
    "personas": [
      {
        "uuid": "8e1dcba0-f0bb-4071-99fc-f18ba6559ccc",
        "name": "VP Grenoble",
        "job_titles": [
          "VP of Engineering",
          "CTO"
        ],
        "location": [
          "Grenoble, Auvergne-Rhône-Alpes, France"
        ],
        "created_at": "2024-09-09T15:15:15.951Z",
        "updated_at": "2024-09-09T15:15:15.951Z"
      },
      {
        "uuid": "598267ec-ac11-41b3-849f-bd360b185b76",
        "name": "test",
        "job_titles": [
          "Cofounder",
          "COO",
          "CEO"
        ],
        "location": [
          "Paris, Île-de-France, France"
        ],
        "created_at": "2025-01-03T17:35:33.073Z",
        "updated_at": "2025-01-03T17:35:33.073Z"
      }
    ]
  }
]

Authorizations

X-API-KEY
string
header
required

Your API key

Response

200 - application/json

A JSON array of persona objects

personas
object[]