View item data

Fetch a specific item's data.

GET https://api.jsonpad.io/lists/{listId}/items/{itemId}/data

Example

cURL
123curl https://api.jsonpad.io/lists/eaffbbf1-d61c-4481-8c04-93873b409f93/items/a6485d79-accd-4d3b-8f30-43fdd8365791/data \
  -H "Content-Type: application/json" \
  -H "x-api-token: <YOUR TOKEN>"

Parameters

  • required
    listIdstringA list id or path name.
  • required
    itemIdstringAn item id or alias.
  • optional
    versionstringhttps://api.jsonpad.io/lists/1367224d-5cea-4a63-a95e-418409e5737e/items/c213f25f-8bce-4f71-9a13-f9046c2706fb/data?version=1Fetch a specific version of the item. If not specified, the latest version will be returned.
  • optional
    pathstringhttps://api.jsonpad.io/lists/7872c392-881d-42c2-ba7c-b093e24d0730/items/32427bae-38fb-400e-a146-6e596f46cbd3/data?path=%24.locations%5B%2A%5D.state

    Fetch only the specified path from the item's data.

    This parameter uses JSON path syntax to specify the data to fetch.

    Example

    Given the JSON path: $.locations[*].state, and the following item data:

    {
    name: "John Doe"
    age: 30
    locations: [
    0: {
    city: "New York"
    state: "NY"
    }
    1: {
    city: "Los Angeles"
    state: "CA"
    }
    ]
    }

    The JSON path will be applied to the item's data, resulting in:

    [
    0: "NY"
    1: "CA"
    ]

Request headers

  • required
    x-api-tokenstringYour API token.
  • optional
    if-modified-since

    An ISO 8601 date.

    If the item hasn't been updated since this date, we return an empty 304 ("Not modified") response, and the request will not be counted towards any active rate limits.

  • optional
    if-none-match

    A SHA-256 hash.

    If this matches the item's ETag hash, we return an empty 304 ("Not modified") response, and the request will not be counted towards any active rate limits.

  • optional
    x-identity-tokenstringAn identity token.
  • optional
    x-identity-groupstringAn identity group.

Request body

No request body

Response body

200 OK
{
name: "John Doe"
age: 30
locations: [
0: {
city: "New York"
state: "NY"
}
1: {
city: "Los Angeles"
state: "CA"
}
]
}

Response headers

  • etagaf2bdbe1aa9b6ec1e2ade1d694f41fc71a831d0268e9891562113d8a62add1bfA SHA-256 hash of the item.
  • last-modified2026-09-05T11:29:57.928ZThe date this item was last modified.
2024-10-29