API v3 is live and in beta: expect possible malfunctions and breaking changes in the coming days. If you find a bug, please report it to your Sillage contact.

Get a persona

Retrieve one persona by its ID.

Returns one persona of your workspace. An archived persona, or one that belongs to another workspace, is reported as not found.

Route

GET/api/v3/personas/{persona_id}

Access modes

Use a workspace API key. The workspace is inferred from the key.

Authorization: Bearer sk_live_...

Path parameters

ParameterTypeDescription
persona_idintegerID of the persona, from List personas.

Example request

curl "https://api.getsillage.com/api/v3/personas/7" \
  -H "Authorization: Bearer $SILLAGE_API_KEY"

Success response

Status: 200 OK

{
  "data": {
    "id": 7,
    "name": "Sales EMEA persona",
    "job_titles": ["VP Sales", "Head of Sales"],
    "excluded_job_titles": ["Intern"],
    "locations": ["United States", "France"],
    "headcounts": ["51-200", "201-500"],
    "industries": ["Software"],
    "seniorities": ["vp", "head"],
    "exclusion_criteria": ["Agencies"],
    "tag": "smb-us"
  }
}

Response fields

FieldTypeDescription
data.idintegerID of the persona.
data.namestringThe persona's name, as shown in the app.
data.job_titlesarray of stringTarget job titles. [] when there are none.
data.excluded_job_titlesarray of stringPeople whose LinkedIn headline contains one of these words won't become leads.
data.locationsarray of stringTarget locations: countries or regions. [] when there are none.
data.headcountsarray of stringTarget headcount ranges. [] when there are none.
data.industriesarray of stringTarget industries. [] when there are none.
data.senioritiesarray of stringThe seniority levels this persona targets.
data.exclusion_criteriaarray of stringSentences or keywords describing who to leave out.
data.tagstring or nullThe short label you set to recognise this persona. Never used for targeting, and unique across the personas of the workspace.

Errors

StatusMeaning
401The API key is missing or invalid.
404The persona does not exist or is archived.
422persona_id is not a valid ID. A query parameter is sent: this route takes none, and errors names the parameter.
429Rate limit exceeded.
500An unexpected server error occurred.

Error responses use RFC 9457 problem documents with Content-Type: application/problem+json. type is always about:blank; code tells one problem from another, detail says what went wrong this time, and errors names the field at fault.

On this page