---
title: "Get JSON Object"
url: "https://help.flows.world/en/article/get-json-object"
language: "en"
last_updated: "2025-12-16T18:58:02.198Z"
---

# Get JSON Object

Retrieves a JSON file from your S3 storage bucket.

**Parameters**

| **Parameter** | **Required** | **Description** |
| --- | --- | --- |
| key | Yes | The path/filename of the object to retrieve (e.g., "folder/myfile.json") |
| query | No | Optional query parameters |

**Example Payload**

{  
    "key": "data/users.json",  
    "query": ""  
}

**Response**

On success, returns:

-   data - The JSON content of the file
-   data.responseCode - HTTP status code (200 for success)

On error, returns:

-   error - Error details from S3
-   error.responseCode - HTTP error code
-   error.Message - Error description
