Aller au contenu
Livstick Développeurs

List code groups for the platform

Méthode GET https://client-api.v5.livstick.com/api/v3/code-groups

Return a paginated list of code groups belonging to the authenticated platform.

Autorisation

Scope requis code_groups:read

Use Authorization: Bearer liv_<prefix>_<secret>.

Paramètres

Nom Emplacement Type Requis Contraintes Description
limit Paramètre de requête integer Facultatif max 200 Maximum number of items to return. Par défaut 50
skip Paramètre de requête integer Facultatif Number of items to skip (pagination offset). Par défaut 0
order Paramètre de requête string Facultatif Sort field. Prefix with - for descending. Par défaut -createdAt

Réponses

200 application/json Schéma CodeGroupListResponse

Paginated list of code groups.

401 application/json Schéma ApiErrorEnvelope

Authentication failed or missing bearer token.

json 401
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Missing API key"
  }
}

403 application/json Schéma ApiErrorEnvelope

Authenticated but not allowed by scope or key constraints.

json 403
{
  "error": {
    "code": "FORBIDDEN",
    "message": "Insufficient permissions"
  }
}