---
schema_version: "1"
id: dab862e1ab528846def1169529eb376db494c2f126b75d1c996dded38d929846
title: Invoke External Service Callouts Using Apex
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/external_services_apex_invoking.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.external_services_apex_invoking.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 57073a4c90463251e28d2832621d7b9a645585a6ce32fb76fe45699f1121c2a7
description: You can call external service registrations natively from Apex. Make a callout to an external service like the Apex Http Class without the need to write boilerplate code. The registered services are strongly typed in Apex with the registration’s schema as Apex types. These Apex types reflect your registered service’s specification, making the Apex compiler do the heavy lifting for you.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Invoke External Service Callouts Using Apex

You can call external service registrations natively from Apex. Make a callout to an external service like the Apex `Http Class` without the need to write boilerplate code. The registered services are strongly typed in Apex with the registration’s schema as Apex types. These Apex types reflect your registered service’s specification, making the Apex compiler do the heavy lifting for you.

- **[External Service Registrations in Apex](https://help.salesforce.com/s/articleView?id=platform.external_services_apex_registrations.htm&release=264.0.0&type=5)**  
    See how registered external service schema types map to Apex types under the namespace `ExternalService`.
- **[Use Apex to Create a Callout to an External Service](https://help.salesforce.com/s/articleView?id=platform.external_services_apex_create_a_callout.htm&release=264.0.0&type=5)**  
    Design and test the automation that sends a user’s information from Salesforce to the external employee banking system. Using the examples provided, create the variables for user phone numbers, and combine different phone numbers into one piece of data. Then use the external service action to create the user.
- **[Asynchronous Callback Operations Using Apex](https://help.salesforce.com/s/articleView?id=platform.external_services_async_ops.htm&release=264.0.0&type=5)**  
    Use Apex to create, test, and monitor asynchronous callbacks. Callbacks are right for integrations that require potentially delayed responses of more than 120 seconds from an external source. For example, a mortgage application API, a shipping notification API, or a payment confirmation API.
- **[View Apex Names in Apex Class Viewer](https://help.salesforce.com/s/articleView?id=platform.external_services_apex_invoking_class_viewer.htm&release=264.0.0&type=5)**  
    View all External Services auto-generated Apex classes in the Apex Class viewer in Setup.