Custom Reports

POST /api/custom-reports/{customReport}/share

Request

Path parameters

customReportinteger required

The ID of the custom report to share

Request body

user_idsinteger[] required

Array of user IDs to share the report with

Response

Report shared successfully

Example response

{
  "data": [
    {
      "file": {
        "user_id": 1,
        "original_name": "document.pdf",
        "stored_name": "2023_01_document.pdf",
        "mime_type": "application/pdf",
        "file_size": 2048,
        "file_hash": "5fghjk234ghj234gj234g234",
        "url": "https://example.com/files/2023_01_document.pdf",
        "thumbnail_id": 2
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.