Skip to content
Docs
Operation

List saved reports

GET/reports/saved
List the saved reports the caller may see in their organisation.

Query parameters

accountIdstringOptional

Returns

Saved reports retrieved

Errors

400
Bad Request - Invalid input
401
Unauthorized - Authentication required
403
Forbidden - Insufficient permissions
404
Not Found - Resource not found
500
Internal Server Error

Every error names its code and links to it. All error codes

curl -X GET "https://api.ticketlayer.com/v1/reports/saved" \  -H "Authorization: Bearer tlak_..." \  -H "X-Ticketlayer-Org: your-org-slug"
Response 200
{
  "status": "success",
  "data": {
    "reports": [
      {
        "id": "rpt_abc12345",
        "organisationId": "string",
        "accountId": "string",
        "name": "Revenue by channel",
        "description": "string",
        "query": {},
        "params": [
          {}
        ],
        "viz": {},
        "createdBy": "string",
        "createdAt": "string",
        "updatedAt": "string"
      }
    ]
  }
}

Try it in test mode

Query parameters