---
title: "Create Sink"
method: POST
path: "/v2/monitoring/sinks"
tags: ["DigitalOcean-public.v2-new_Monitoring"]
---

# Create Sink

`POST /v2/monitoring/sinks`

To create a new sink, send a POST request to `/v2/monitoring/sinks`. Forwards logs from the 
resources identified in `resources` to the specified pre-existing destination.

## Request body

- object
  - `destination_uuid` string — A unique identifier for an already-existing destination.
  - `resources` SinkResource[] — List of resources identified by their URNs.
    - `urn` string, required — The uniform resource name (URN) for the resource in the format do:resource_type:resource_id.
    - `name` string — resource name

## Response `202`

This does not indicate the success or failure of any operation, just that the request has been accepted for processing.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

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