# Request IDs and idempotency

Use requestId to safely retry a proxy extraction request made with a Console session.

The Console's POST proxy extraction endpoint uses `requestId` to prevent network retries or concurrent submissions from generating multiple sets of authorizations. A request ID is scoped to the account that submitted it.

## Generate a request ID

- Generate a unique, unpredictable ID for each new operation.
- Reuse that ID if you retry the same operation after a network error.
- Use a new ID for a new operation.

## Retry the same request

- The same account, request ID, and parameters recover the original result or return a status indicating the request is still processing.
- After a timeout, retry with the original ID. Avoid submitting the same operation concurrently with a new ID.

## Handle parameter conflicts

- The API rejects reuse of an ID with a different plan entitlement, allowlist entry, country, quantity, or protocol.
- Keep a copy of the original parameters and stop automatic retries when a conflict occurs.

## Log request status

- Log the request ID, a parameter summary, the start time, and final status.
- Keep credentials and full results out of idempotency logs.
