---
title: "POST /v1/{+parent}"
method: POST
path: "/v1/{+parent}"
tags: ["tasks"]
---

# POST /v1/{+parent}

`POST /v1/{+parent}`

Set a push notification config for a task.

## Path parameters

- `parent` string, required

## Query parameters

- `configId` string
- `tenant` string

## Request body

- TaskPushNotificationConfig
  - `pushNotificationConfig` PushNotificationConfig — Configuration for setting up push notifications for task updates.
    - `url` string — Url to send the notification too
    - `token` string — Token unique for this task/session
    - `authentication` AuthenticationInfo — Defines authentication details, used for push notifications.
      - `schemes` string[] — Supported authentication schemes - e.g. Basic, Bearer, etc
      - `credentials` string — Optional credentials
    - `id` string — A unique identifier (e.g. UUID) for this push notification.
  - `name` string — The resource name of the config. Format: tasks/{task_id}/pushNotificationConfigs/{config_id}

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/workspaceevents.md) · [All operations](https://skmtc.dev/google/apis/workspaceevents/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/workspaceevents/revisions/d6202517e9f3/schema)
