Skip to content
AdCrunch
Esc
↑↓navigate↵open⌘Jpreview

List a Brand's Personas

Lists a Brand’s Personas, newest first, as slug + name + description + age range, with which sections are authored. The sections themselves are never returned here — fetch a single Persona for those. Soft-deleted Personas are excluded.

One page at a time: limit rows at most, 100 by default. When the answer holds nextCursor, more rows exist: send it back as cursor to get the next page.

GET/context/brands/{slug}/personas
Authorization
AuthorizationBearer token · headerrequired

Send Authorization: Bearer <credential>.

Use an API key (acr_…), from the AdCrunch console under Settings → API keys.

The credential names the organization, and no operation takes an organization parameter.

See https://docs.adcrunch.dev/api/authentication.

Path parameters
slugstringrequired
Query parameters
cursorstring
min length 1
limitintegerrequired
min 1 · max 500 · default: 100
Responses
200

One page of this Brand's Personas, newest first, with which of their four sections carry prose. The prose itself is never returned here. There is deliberately no organization-wide Persona listing — a Persona is addressed through its Brand. This page is the last one, so it carries no nextCursor.

dataobject[]required
Show properties
Array of object
ageMaxnumber | nullrequired
ageMinnumber | nullrequired

Each bound is independently optional, so "35+" is expressible.

descriptionstringrequired
namestringrequired
sectionsobjectrequired

Which of the Persona’s four sections carry prose.

Show properties
frictionsbooleanrequired
languagebooleanrequired
motivationsbooleanrequired
profilebooleanrequired
slugstringrequired

Unique within its Brand, not within the organization — two Brands may each brief a loyalists.

nextCursorstring

Send this value as cursor to get the next page. It is absent on the last page.

400

The request does not match the schema of this operation: a field is missing or has the wrong type, or the body is not valid JSON. error is invalid_request, and issues names each field. Nothing was changed. Or AdCrunch cannot use the cursor: it cannot read it, or the cursor belongs to a different query. Then error is invalid_cursor. Send the nextCursor of the previous page with no change, or omit cursor to get the first page.

Any of:
object
issuesobject[]required

One entry for each field that does not match.

Show properties
Array of object
instringrequired

The part of the request that holds the field.

Allowed:bodycookieheadersparamsquery
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

pathstringrequired

A JSON Pointer into that part of the request, such as /filename. An empty string is the whole part.

errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

Allowed:invalid_request
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

object
errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

Allowed:invalid_cursor
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

401

No API key, or one that does not resolve. See the security scheme. error is unauthorized.

errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

Allowed:unauthorized
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

403

The caller does not hold brand:read. error is forbidden.

errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

Allowed:forbidden
messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

404

No Brand with that slug. error is not_found.

errorstringrequired

A stable code for the failure. This is the field to branch on. It does not change for a given failure.

messagestringrequired

A sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.

Request
curl -X GET "https://api.pr-701.adcrunch.dev/context/brands/string/personas?limit=100" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "data": [
    {
      "ageMax": null,
      "ageMin": 18,
      "description": "Runners who have never bought direct, and who buy the shoe a shop puts in front of them.",
      "name": "First pair",
      "sections": {
        "frictions": false,
        "language": false,
        "motivations": true,
        "profile": true
      },
      "slug": "first-pair"
    },
    {
      "ageMax": 45,
      "ageMin": 28,
      "description": "Runners who already own a pair, and who buy the next one without looking at another brand.",
      "name": "Loyalists",
      "sections": {
        "frictions": true,
        "language": true,
        "motivations": true,
        "profile": true
      },
      "slug": "loyalists"
    }
  ]
}