---
title: "Add an Open tables link's tables to a project"
method: POST
path: "/workspaces/{workspace_id}/projects/{project_id}/tool-claims"
tags: ["Tool claims"]
---

# Add an Open tables link's tables to a project

`POST /workspaces/{workspace_id}/projects/{project_id}/tool-claims`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/workspaces/{workspace_id}/projects/{project_id}/tool-claims`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Adds the tables to a new folder in the project. Redeeming the same link again returns where they already are and adds nothing.

## Path parameters

- `workspace_id` integer, required: Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.
- `project_id` integer, required: Project ID of the workspace

## Request body

- ToolClaimTokenInput: The emailed link's token
  - `token` string, required: Token from the emailed link

## Response `200`

Where the tables were added

- ToolClaimTarget
  - `workspace_id` integer, required: Workspace the tables were added to
  - `project_id` integer, required: Project the tables were added to
  - `folder_id` integer, nullable: Resource id of the folder holding the tables

## Other responses

- `400`: Bad request syntax or unsupported method
- `403`: The link was sent to another address
- `404`: Unknown link
- `410`: The link has expired

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/fe078afe239b?raw)
