---
title: "/reporting/goals"
method: POST
path: "/reporting/goals"
---

# /reporting/goals

`POST /reporting/goals`

## Headers

- `Authorization` string, required
- `X-Api-Version` string

## Request body

- object
  - `game_id` integer, required — Game to pull goals for
  - `start_datetime` string, date, required — Pull goals triggered after this time (inclusive)
  - `end_datetime` string, date, required — Pull goals triggered before this time (exclusive)
  - `goal_type_ids` integer[] — Restrict the results to the provided goal types
  - `trigger_types` string[] — Restrict the results to the provided trigger types (standard, assist, contribution)
  - `unattributed` boolean — Restrict the results to only include unattributed (True), attributed (False), or all (Null)
  - `limit` integer — Limit the number of results per page. Max 1,000,000 results per page
  - `after` string — Pull the page starting with this page token

## Response `200`

200

- object
  - `goals` object[]
    - `event_city` integer
    - `event_country` string
    - `event_device_type` unknown
    - `event_id` string
    - `event_os` string
    - `event_platform` string
    - `event_region` string
    - `event_sku` string
    - `event_type` string
    - `game_id` integer
    - `goal_type_id` integer
    - `id` string
    - `record_updated_at` string
    - `revenue_amount` integer
    - `revenue_currency` string
    - `revenue_type` string
    - `touchpoint_ad` string
    - `touchpoint_ad_group` string
    - `touchpoint_ad_type` string
    - `touchpoint_browser_family` string
    - `touchpoint_campaign` string
    - `touchpoint_city` integer
    - `touchpoint_cost_amount` integer
    - `touchpoint_cost_currency` string
    - `touchpoint_cost_model` string
    - `touchpoint_country` string
    - `touchpoint_creative` string
    - `touchpoint_destination_url` string
    - `touchpoint_device_brand` string
    - `touchpoint_device_family` string
    - `touchpoint_device_model` string
    - `touchpoint_id` string
    - `touchpoint_influencer` string
    - `touchpoint_keyword` string
    - `touchpoint_network` string
    - `touchpoint_os_family` string
    - `touchpoint_os_major` string
    - `touchpoint_placement` string
    - `touchpoint_region` string
    - `touchpoint_request_url` string
    - `touchpoint_requested_at` string
    - `touchpoint_session_id` string
    - `touchpoint_site_id` string
    - `touchpoint_sub1` string
    - `touchpoint_sub10` string
    - `touchpoint_sub2` string
    - `touchpoint_sub3` string
    - `touchpoint_sub4` string
    - `touchpoint_sub5` string
    - `touchpoint_sub6` string
    - `touchpoint_sub7` string
    - `touchpoint_sub8` string
    - `touchpoint_sub9` string
    - `touchpoint_sub_site_id` string
    - `touchpoint_team_id` integer
    - `touchpoint_type` string
    - `touchpoint_unique` integer
    - `touchpoint_useragent` string
    - `touchpoint_utm_campaign` string
    - `touchpoint_utm_content` string
    - `touchpoint_utm_medium` string
    - `touchpoint_utm_source` string
    - `touchpoint_utm_term` string
    - `trigger_id` string
    - `trigger_type` string
    - `triggered_at` string
    - `unattributed` integer
    - `user_id` string
    - `value` integer
  - `paging` object
    - `after` string

---

[API](https://skmtc.net/gamesight/apis/measurement-api-1.md) · [All operations](https://skmtc.net/gamesight/apis/measurement-api-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gamesight/measurement-api-1/versions/d0464e63fcda/schema)
