Consent

Consent - List

Paginated list of consent documents (newest first). Optional consent_type filter. body_html is omitted here (it can be large) — fetch a single document for the full body.

get/admin/v1/consent-documents

Request

  • Base URL: https://api.juju.com
  • URL: https://api.juju.com/admin/v1/consent-documents
  • Auth: none declared

Query parameters

consent_typestring

Filter to one type, e.g. terms_of_service.

pageinteger
per_pageinteger
sort'date_created' | 'consent_type' | 'version' | 'active'
direction'asc' | 'desc'

Response

Paginated list (body_html omitted).

errorsstring[] required

Empty array on success. On failure, human-readable error strings suitable for surfacing to end users.

Example response

{
  "data": [
    {
      "consent_type": "terms_of_service",
      "version": "2026-08-18"
    }
  ],
  "meta": {
    "total": 137,
    "page": 1,
    "per_page": 50,
    "total_pages": 3
  },
  "errors": []
}

Changes

No recorded changes to this operation across all 1 revision of this API.