Returns metadata for a single content item in the enterprise's Content Management library, identified by its content_id. The response includes the same fields as the list endpoint — filename, MIME type, size, tags, description, path, and ownership — but scoped to a single file. Does not return the file's binary content.
Common Use Cases
Verifying a specific file's metadata (type, size, tags, path) before referencing it in a device push operation Confirming a file exists and retrieving its details after upload Checking ownership or modification timestamps for auditing purposes
Best Practices
Use GET /v0/enterprise/{enterprise_id}/content/ with the search parameter to find a content_id if you don't already have it — this endpoint requires knowing the ID in advance This endpoint returns metadata only
- Mock serverhttps://api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/content/{content_id}/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/v0/enterprise/{enterprise_id}/content/{content_id}/
curl -i -X GET \
'https://api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/content/{content_id}/' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'successful operation
{ "id": 0, "download_url": "string", "name": "string", "key": "string", "is_dir": false, "kind": "string", "hash": "string", "size": "string", "path": "string", "permissions": "string", "tags": [ "string" ], "description": "string", "created": "2019-08-24T14:15:22Z", "modified": "2019-08-24T14:15:22Z", "enterprise": "string", "owner": { "id": 0, "username": "string" } }