---
title: "Add a dataservice to a given reuse"
method: POST
path: "/reuses/{reuse}/dataservices/"
tags: ["reuses"]
---

# Add a dataservice to a given reuse

`POST /reuses/{reuse}/dataservices/`

## Request

- Base URL: `https://dados.gov.pt/api/1`
- URL: `https://dados.gov.pt/api/1/reuses/{reuse}/dataservices/`
- Auth: none declared

## Path parameters

- `reuse` string, required

## Headers

- `X-Fields` string, mask

## Request body

- DataserviceReference
  - `class` string, required: The object class
  - `id` string, required: The object unique identifier
  - `self_api_url` string: Link to the API endpoint for this dataservice
  - `self_web_url` string: Link to the udata web page for this dataservice
  - `title` string, required

## Response `200`

The dataservice is already present

- Reuse2028read29 (unresolved $ref)

## Other responses

- `201`: Success
- `403`: Not allowed to modify this reuse

## Changes

- **2026-09-11** `1175d034be00`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dados/apis/udata-api/changes/reuses/:reuse/dataservices/post.md)

---

[API](https://skmtc.dev/dados/apis/udata-api.md) - [All operations](https://skmtc.dev/dados/apis/udata-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dados/apis/udata-api/revisions/77edaf8a00ea?raw)
