Actions125
- Ticket Actions
- Ticket Note Actions
- Ticket Attachment Actions
- Company Actions
- Company Note Actions
- Company Attachment Actions
- Contact Actions
- Resource (Employee) Actions
- Contract Actions
- Contract Note Actions
- Project Actions
- Project Note Actions
- Task Actions
- Task Note Actions
- Time Entry Actions
- Configuration Item Actions
- Configuration Item Note Actions
- Product Actions
- Opportunity Actions
- Quote Actions
- Quote Item Actions
- Service Call Actions
- Invoice Actions
- Subscription Actions
- Inventory Item Actions
- Purchase Order Actions
- Purchase Order Item Actions
Opportunity → Get Opportunity
AI-generatedSummary
Retrieve a single Autotask Opportunity record by its numeric ID.
Inputs
- entityId (required) — Numeric ID of the opportunity to retrieve.
- requestOptions — Optional collection of request header overrides; includes impersonationResourceId to override credential defaults.
Output shape
a single Opportunity object
Returns the full Opportunity record; if no match is found an error is thrown unless Continue On Fail is enabled.
Examples
Example 1: Fetch opportunity ID 12345 with default credentials.
entityId: 12345
Example 2: Fetch opportunity ID 12345 while impersonating resource 98765.
entityId: 12345; requestOptions: {"impersonationResourceId": "98765"}
