List a business's card groups
GET
/v1/businesses/{id}/card-groupsRequires an API client bearer token.
Lists the business's card groups, oldest first. An API client names its acting person in X-Rigid-Acting-Person (400 acting_person_required without it); the person needs an active membership of the business, else 403 acting_person_not_permitted. Every read writes one business.read audit intent with the decision. 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
Path parameters
| Name | Required | Description |
|---|---|---|
| id | required |
Query parameters
| Name | Required | Description |
|---|---|---|
| limit | optional | |
| starting_after | optional |
Header parameters
| Name | Required | Description |
|---|---|---|
| X-Rigid-Acting-Person | optional |
Example
curl https://api.rigid.fi/v1/businesses/{id}/card-groups \
-H "Authorization: Bearer $RIGID_API_TOKEN"Responses
200List a business's card groups — the result.
dataarray of objectrequired
+ show properties− hide properties
idstring (uuid)required
business_idstring (uuid)required
namestringrequired
created_atstring (date-time)required
has_morebooleanrequired
next_cursorstring (uuid) | nullrequired
400Validation error
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
401Authentication required
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
403Forbidden
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
404Business not found, or the business routes are not released
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
500Internal server error
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring