---
title: "POST /projects/{project}/regions/{region}/notificationEndpoints"
method: POST
path: "/projects/{project}/regions/{region}/notificationEndpoints"
tags: ["regionNotificationEndpoints"]
---

# POST /projects/{project}/regions/{region}/notificationEndpoints

`POST /projects/{project}/regions/{region}/notificationEndpoints`

Create a NotificationEndpoint in the specified project in the given region
using the parameters that are included in the request.

## Path parameters

- `project` string, required
- `region` string, required

## Query parameters

- `requestId` string

## Request body

- NotificationEndpoint — Represents a notification endpoint. A notification endpoint resource defines an endpoint to receive notifications when there are status changes detected by the associated health check service. For more information, see Health checks overview.
  - `selfLink` string — Output only. [Output Only] Server-defined URL for the resource.
  - `id` string, uint64 — Output only. [Output Only] A unique identifier for this resource type. The server generates this identifier.
  - `creationTimestamp` string — Output only. [Output Only] Creation timestamp inRFC3339 text format.
  - `grpcSettings` NotificationEndpointGrpcSettings — Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.
    - `resendInterval` Duration — A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years.
      - `nanos` integer — Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive.
      - `seconds` string, int64 — Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
    - `retryDurationSec` integer — How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.
    - `endpoint` string — Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
    - `payloadName` string — Optional. If specified, this field is used to populate the "name" field in gRPC requests.
    - `authority` string — Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
  - `kind` string — Output only. [Output Only] Type of the resource. Alwayscompute#notificationEndpoint for notification endpoints.
  - `name` string — Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
  - `description` string — An optional description of this resource. Provide this property when you create the resource.
  - `region` string — Output only. [Output Only] URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/compute.md) · [All operations](https://skmtc.net/google/apis/compute/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/compute/versions/6120ed8969d4/schema)
