CollaboratorsAdd a collaborator to a contract

Add a collaborator to a contract

Creates a collaborator on a contract.

Legacy note: this endpoint is maintained for existing V2 integrations. Prefer V3 for new API and agent workflows where an equivalent exists.

curl -X POST "https://api.textmine.com/v1/contracts/example_string/collaborators" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "identityFields": [
    {
      "id": 3610,
      "label": "First Name",
      "value": ""
    },
    {
      "id": 3611,
      "label": "Last Name",
      "value": ""
    },
    {
      "id": 3612,
      "label": "Email",
      "validationType": "EMAIL",
      "value": ""
    },
    {
      "id": 3613,
      "label": "Address",
      "value": ""
    }
  ],
  "role": [
    "party"
  ],
  "inviterId": "contract creator",
  "side": "first",
  "userId": "user asociated to the collaborator"
}'
{}
POST
/v1/contracts/{contractId}/collaborators
POST
Base URLstring

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

Bearer Token
Bearer Tokenstring
Required

Bearer token - just enter the token, "Bearer" prefix will be added automatically

Content-Typestring
Required

The media type of the request body

Options: application/json
No request body parameters defined
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Authentication token required.

Path Parameters

Body

application/json
dataobject
Required

Raw application/json data

Responses

Successful response