VaultsCreate a vault for an existing teampost

Create a vault for an existing team

Creates a Vault attached to an existing team. The name and description update the underlying team record before the Vault is created.

curl -X POST "https://api.textmine.com/v3/vaults" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (`tm_<key>`)" \
  -d '{
  "teamId": 321,
  "name": "Commercial contracts",
  "description": "Commercial agreements reviewed by Legal Ops."
}'
{
  "id": 12345,
  "name": "Commercial contracts",
  "description": "Contracts reviewed by the commercial legal team.",
  "teamId": 321,
  "organizationId": 654,
  "documentCount": 48,
  "createdAt": "2024-12-25T10:00:00Z",
  "updatedAt": "2024-12-25T10:00:00Z"
}
POST
/v3/vaults
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (`tm_<key>`)
Bearer Tokenstring
Required

Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.

Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.
Content-Typestring
Required

The media type of the request body

Options: application/json
namestring

Name stored on the underlying team.

teamIdinteger
Required

Existing team to create the vault for.

Format: int64
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (tm_<key>). Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.

Body

application/json
namestring

Name stored on the underlying team.

Example:
Commercial contracts
descriptionstring
Example:
Contracts reviewed by the commercial legal team.
teamIdinteger
Required

Existing team to create the vault for.

Example:
321

Responses