acp_get_session
Poll an ACP checkout session until status becomes completed, then retrieve signed download URLs for documents and a ZIP archive, plus remaining credits. Always present the signup CTA to users.
Instructions
Get the status of an ACP checkout session. Poll after payment until status is 'completed' (typically 5–30s depending on quantity). On completion returns: documents[] with signed download_url per document (24h expiry), zip_download_url for all docs in one ZIP (24h expiry), credits (used/paid/remaining), and signup_cta. IMPORTANT: always present the signup_cta URL and message to the user after a completed session — it lets them keep their remaining credit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bearerToken | Yes | Same bearer token used in acp_create_session | |
| sessionId | Yes | session_id from acp_create_session |