JustFlows

Management API / Content

Get content

GET/api/manage/v1/content/{id}

Returns one entry, including its block body and custom fields. An unpublished entry answers 404 unless the key and its owner can update it, or the owner wrote it and can create content.

Authorization

  • Authorizationheaderrequired

    Bearer jfk_…: an API key created in Admin → Settings → API.

  • Required capabilitycontent:read

    The key and its owner must both hold it. Content scopes on the key are applied to this request as well.

Path parameters

  • idstringrequired

    The resource id.

Response

  • idstring

    Entry id.

  • typestring

    Content type slug, such as post or page.

  • titlestring
  • slugstring
  • localestring
  • translationGroupIdstring | null

    Shared by every translation of the same entry.

  • excerptstring | null
  • statusstring

    draft, published, or archived.

  • blocksobject

    The block document: { version: 1, blocks: [...] }.

  • fieldsobject

    Custom field values defined by the content type.

  • publishOn / unpublishOnstring | null

    Scheduled publish and expiry times (ISO 8601).

  • publishedAt / createdAt / updatedAtstring

    ISO 8601 timestamps.

  • versioninteger

    Optimistic-concurrency version. Send it back as expectedVersion.

  • 200OK
  • 401Missing, unknown, revoked, expired, or out-of-scope key.
  • 403The key or its owner lacks the required capability or scope.
  • 404No such resource on this site.
  • 429Per-key or per-IP rate limit exceeded. Wait for the seconds in Retry-After.