List businesses
/v1/businessesRequires an API client bearer token.
Lists businesses, oldest first; pass the last row's id as starting_after. An API client must name its acting person and lists only the businesses where that person holds an active membership; console staff list by programme visibility. Every business returned writes one business.read audit intent. A list refused before any business is read (no or a malformed acting person, a programme outside the caller's) decides on no business and writes none. While the `business-cards` release flag is off for the caller's mode this route answers 404 to every authenticated, well-formed request, as if absent.
Parameters
Query parameters
| Name | Required | Description |
|---|---|---|
| programme_id | optional | |
| limit | optional | |
| starting_after | optional |
Header parameters
| Name | Required | Description |
|---|---|---|
| X-Rigid-Acting-Person | optional |
Example
curl https://api.rigid.fi/v1/businesses \
-H "Authorization: Bearer $RIGID_API_TOKEN"Responses
200List businesses — the result.
+ show properties− hide properties
+ show properties− hide properties
One of
Option 1
{
"type": "string",
"enum": [
"test_mode",
"customer_attested"
]
}Option 2
{
"type": "null"
}Option 3
{
"type": "null"
}400Validation error
401Authentication required
403Forbidden
404The business routes are not released
500Internal server error