List the Brands
Lists the Brands of your organization, newest first. Each row gives the slug, the name, the description, the logo URL, and whether the body has content. This call does not give the body. To read it, read one Brand. Deleted Brands are not in the list. Each row gives its Assignees.
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.
/context/brandsAuthorizationBearer token · headerrequiredSend 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.
cursorstringlimitintegerrequiredassigneestringOne page of the Brands of the organization, newest first. hasBody says whether the body carries prose, so a chooser can rank Brands without the listing becoming the brief. logoUrl is the public address of the Document the Brand nominates, and it is null when it nominates none. This page is the last one, so it carries no nextCursor.
dataobject[]requiredShow propertiesHide properties
objectassigneesobject[]requiredThe current members who are accountable for the record, oldest first, at most 10. An Assignee grants no access. A member who left is not listed.
Show propertiesHide properties
objectidstringrequiredThe usr_… id of the member.
namestringrequiredThe name of the member.
descriptionstringrequiredhasBodybooleanrequiredWhether the body carries prose. An unwritten body is a normal state, not a deficit.
idstringrequiredThe id of the Brand, brd_….
logoUrlstring | nullrequiredThe Brand’s nominated logo, when it has one.
namestringrequiredslugstringrequirednextCursorstringSend this value as cursor to get the next page. It is absent on the last page.
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.
issuesobject[]requiredOne entry for each field that does not match.
Show propertiesHide properties
objectinstringrequiredThe part of the request that holds the field.
bodycookieheadersparamsquerymessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.
pathstringrequiredA JSON Pointer into that part of the request, such as /filename. An empty string is the whole part.
errorstringrequiredA stable code for the failure. This is the field to branch on. It does not change for a given failure.
invalid_requestmessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.
errorstringrequiredA stable code for the failure. This is the field to branch on. It does not change for a given failure.
invalid_cursormessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.
No API key, or one that does not resolve. See the security scheme. error is unauthorized.
errorstringrequiredA stable code for the failure. This is the field to branch on. It does not change for a given failure.
unauthorizedmessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.
The organization has no active subscription. An owner subscribes at paywallUrl. error is organization_unentitled.
paywallUrlstring<uri>requiredThe page where an owner of the organization subscribes. Show it to the person.
errorstringrequiredA stable code for the failure. This is the field to branch on. It does not change for a given failure.
organization_unentitledmessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.
The caller does not hold brand:read. error is forbidden.
errorstringrequiredA stable code for the failure. This is the field to branch on. It does not change for a given failure.
forbiddenmessagestringrequiredA sentence to show a person. Written to say what to do next. Reworded whenever it can be said better, so never branch on it.