ghl_snapshot_get_pushes_between_dates
Retrieve a list of sub-account snapshot pushes within a specified date range using ISO 8601 dates. Pagination supported via limit and lastDoc.
Instructions
REQUIRES AN AGENCY-LEVEL (Company) TOKEN — spec security is Agency-Access-Only for all snapshots ops. from/to/lastDoc are required query params per spec despite generic-sounding names.
Get Snapshot Push between Dates
Get list of sub-accounts snapshot pushed in time period
Endpoint: GET /snapshots/snapshot-status/{snapshotId} (Version header: v3; source: v3/snapshots-v3.json)
Pagination params: limit — pass them to page through full result sets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Only accepts ISO 8601 format | |
| from | Yes | Only accepts ISO 8601 format | |
| limit | No | Limit of documents to return. Default is 20 | |
| lastDoc | Yes | Id for last document till what you want to skip | |
| companyId | Yes | ||
| snapshotId | Yes |