Skip to content

GET /v1/projects/{projectId}/webhooks/egress-addresses

Returns the public network addresses from which this environment sends webhook deliveries. Use this information when configuring the receiving system's network allowlist. The result is environment-specific and does not describe the API service's ingress addresses.

photon.projects.listWebhookEgressAddresses(input: ListWebhookEgressAddressesInput, options?: RequestOptions): Promise<ListWebhookEgressAddressesOutput>
import { Photon } from "@photon-ai/api";

const photon = new Photon({
  headers: { Authorization: `Bearer ${process.env.PHOTON_API_TOKEN}` },
});
const result = await photon.projects.listWebhookEgressAddresses({
  path: {
    projectId: "projectId",
  },
});
{
  "ipAddresses": [
    "string"
  ]
}

Parameters

Photon-VersionPhotonVersion

Selects the API contract date. Without it, the request is served as 2026-07-01.

projectIdstringrequired

Returns

200 The public addresses webhook deliveries originate from in this environment. ListWebhookEgressAddressesResponse

Headers: ETag, Photon-Version. The raw response carries these headers; see Raw responses.

ipAddressesarray of string (ipv4)required

Every public IPv4 address webhook deliveries can originate from. Allow-list all of them; deliveries are spread across every address.

304 Not Modified. Sent only when If-None-Match matches the ETag of an earlier 200 response for the same representation; no body. No body.

Headers: ETag, Photon-Version. The raw response carries these headers; see Raw responses.