---
schema_version: "1"
id: f480bacf1281a69256be4b0e1736efa72fa82aab9aa8bcaa81403dc7fd71f4fa
title: Pub/Sub API Endpoints
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/event-bus/pub-sub-api/guides/pub-sub-endpoints.md
canonical_url: https://developer.salesforce.com/docs/platform/pub-sub-api/guide/pub-sub-endpoints.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 21a016e4ec240049563da1c13a8443d88cc3dadfa4cfc77ba9e7b3237b74bff5
products:
  - Pub/Sub API
  - Event Bus Docs
---
# Pub/Sub API Endpoints

Pub/Sub API provides a global endpoint and a region-specific endpoint.

The endpoints include the port. Replace the `{port}` placeholder with the port that Pub/Sub API uses: `443` or `7443`. For example, the global endpoint with the `443` port is `api.pubsub.salesforce.com:443`.

## Global Endpoint

Use this endpoint if you don't have data in transit privacy requirements for your org.
To help reduce API request latency, the Pub/Sub API service attempts to process requests in the same region where they originate.

```
api.pubsub.salesforce.com:{port}
```

## Europe Endpoint

Use this endpoint if you must comply with data in transit privacy requirements for your org. Using this endpoint ensures that Pub/Sub API event processing occurs via the Salesforce service located in Germany.

```
api.deu.pubsub.salesforce.com:{port}
```

Events in the Salesforce event bus aren’t persisted or stored outside the region your org is located in. For more information about the regions where event processing occurs, see [AWS Regions](https://developer.salesforce.com/docs/platform/pub-sub-api/guide/considerations.md#aws-regions).

**note:** If your company uses a firewall for network security, make sure that the Pub/Sub API endpoint is allowed in the firewall configuration. Allow the entire domain and port. For example, for the global endpoint, the domain is `api.pubsub.salesforce.com`, and the port is `443` or `7443`. Don’t use hardcoded IP addresses in your allowlist because they can change. Also, allow the HTTPS and TCP protocols.
