Returns a paginated list of customer groups.
Deferred Execution
This endpoint supports deferred (asynchronous) execution for large result sets. When enabled, the API queues the request and returns HTTP 202 with a request_id. Results are streamed to S3 and made available via presigned URL.
Query Parameters
is_async(boolean): Set totrueto enable asynchronous processing.callback_url(string): Optional HTTPS URL to receive completion notifications. The payload containsrequest_id,status, anddata_url(when available).callback_secret(string): Optional secret for HMAC signature verification. Only used whencallback_urlis provided.
Callback Signature Verification
When callback_secret is provided, deferred callbacks include HMAC signature headers so the receiver can authenticate the sender. The callback request includes X-ERC-Callback-Timestamp and X-ERC-Callback-Signature headers; receivers should verify the signature before trusting the payload.
The signature is HMAC-SHA256 over <timestamp>.<canonical_body> where canonical_body is JSON serialized with stable key ordering and no extra whitespace (equivalent to Python: json.dumps(payload, separators=(',', ':'), sort_keys=True)). Do not compute the HMAC over the raw HTTP body.
Workflow
- Submit request with
is_async=true - Receive HTTP 202 with
request_id - Poll Check Deferred Execution Status API or wait for callback
- Download results from presigned
data_url
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
