---
title: "Get a client-event-target report by org. Roles: admin."
method: POST
path: "/api/memberships/{membershipId}/reports/client-event-targets"
tags: ["Client Events", "Reports", "Organizations"]
---

# Get a client-event-target report by org. Roles: admin.

`POST /api/memberships/{membershipId}/reports/client-event-targets`

## Request

- Base URL: `https://api.mobilecoach.org` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mobilecoach.org/api/memberships/{membershipId}/reports/client-event-targets`
- Auth: `AuthToken` (a scheme the document does not define)

## Path parameters

- `membershipId` integer, required

## Request body

- ClientEventReportCriteria
  - `startDate` string, date, required
  - `endDate` string, date, required
  - `audienceId` integer
  - `targetType` 'ASSET' | 'CERT' | 'CONTENT' | 'EVENT' | 'MEMBER_CERT' | 'MEMBER_PREREQ' | 'MEMBERSHIP' | 'NOTIFICATION' | 'PAGE' | 'PLAYLIST' | 'PREREQ' | 'SPLASH' | 'SPONSOR' | 'WHITEBOARD' | 'HOME' | 'WELCOME', required
  - `endDateTime` string, date-time
  - `startDateTime` string, date-time

## Response `200`

OK

- ClientEventTargetReport
  - `criteria` ReportCriteria
    - `startDate` string, date, required
    - `endDate` string, date, required
    - `audienceId` integer
    - `endDateTime` string, date-time
    - `startDateTime` string, date-time
  - `targets` EventTarget[]
    - `id` integer
    - `type` 'ASSET' | 'CERT' | 'CONTENT' | 'EVENT' | 'MEMBER_CERT' | 'MEMBER_PREREQ' | 'MEMBERSHIP' | 'NOTIFICATION' | 'PAGE' | 'PLAYLIST' | 'PREREQ' | 'SPLASH' | 'SPONSOR' | 'WHITEBOARD' | 'HOME' | 'WELCOME'
    - `actions` EventAction[]
      - `action` 'CLICK' | 'SESSION_START' | 'SHARE' | 'VIEW'
      - `counts` EventPlatformCount[]
        - `platform` string
        - `count` integer
    - `referrers` EventReferrer[]
      - `id` integer
      - `type` 'HOME' | 'PAGE' | 'SPLASH' | 'WELCOME'
      - `actions` EventAction[]
        - `action` 'CLICK' | 'SESSION_START' | 'SHARE' | 'VIEW'
        - `counts` EventPlatformCount[]
          - `platform` string
          - `count` integer

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `500`: Internal server error

## Changes

- **2026-09-02** `870f28ba2607`: 5 info
  - added the optional property `error/errorId` to the response with the `400` status
  - added the optional property `error/errorId` to the response with the `401` status
  - added the optional property `error/errorId` to the response with the `403` status
  - added the optional property `error/errorId` to the response with the `404` status
  - …1 more

[Operation history](https://skmtc.dev/mobilecoach/apis/untitled-api/changes/api/memberships/:membershipId/reports/client-event-targets/post.md)

---

[API](https://skmtc.dev/mobilecoach/apis/untitled-api.md) - [All operations](https://skmtc.dev/mobilecoach/apis/untitled-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mobilecoach/apis/untitled-api/revisions/6e5d224eed9b?raw)
