Get Single File
Get Single File
Retrieves the details of a specific file using its ID.
Method: GET
URL: {{base_url}}/files/{{file_id}}
Authentication
This endpoint requires authentication.
- Recommended: Bearer token in the
Authorizationheader:
Notes:
-
If your collection/folder already sets auth, this request can inherit auth.
-
Ensure
{{access_token}}is a valid, non-expired token.
Required variables
Set these variables at the environment or collection level:
Path Parameters
Example request URL:
Sample request
Sample success response
A successful request typically returns HTTP 200 OK and a JSON response.
Common errors
-
400 Bad Request
- Invalid or missing
file_id
- Invalid or missing
-
401 Unauthorized / 403 Forbidden
-
Missing/invalid
Authorizationheader -
Expired
{{access_token}}
-
-
404 Not Found
- File with the given
file_iddoes not exist
- File with the given
Notes
-
This endpoint returns file metadata and its public URL.
-
The
urlfield can be used directly for preview, download, or sending the file in integrations such as WhatsApp.
Response
OK
data
success
