Skip to main content
GET
/
resources
/
{uuid}
/
blocks
List blocks for a resource
curl --request GET \
  --url https://api.journeybee.io/v1/resources/{uuid}/blocks \
  --header 'Authorization: Bearer <token>'
[
  {
    "uuid": "<string>",
    "series": 123,
    "title": "<string>",
    "content": "<unknown>",
    "style": {
      "background_color": "<string>",
      "text_color": "<string>",
      "border": {
        "width": 123,
        "color": "<string>",
        "radius": 123
      },
      "padding": {
        "top": 123,
        "bottom": 123,
        "left": 123,
        "right": 123
      },
      "margin": {
        "top": 123,
        "bottom": 123,
        "left": 123,
        "right": 123
      }
    },
    "asset_uuid": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>"
  }
]

Authorizations

Authorization
string
header
required

API key authentication. Use "Bearer <api_key>" or "Api-Key <api_key>".

Path Parameters

uuid
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

200 - application/json

Default Response

uuid
string
required
type
enum<string>
required
Available options:
text,
image,
video,
document,
button,
embed,
powerpoint,
files,
quiz
series
number
required

Display order (1-indexed)

title
string | null
required
content
any
required

Block content — shape varies by type. See documentation.

style
object
required

Visual styling for the block.

asset_uuid
string | null
required

Associated asset (image, video file, document, etc.)

created_at
string
required
updated_at
string
required