Save a participant contact

POST
/api/v1/orgs/{orgId}/deals/{dealId}/packages/{packageId}/participants/{participantId}/contact

Saves a name and email, or the signed-in user with self: true, onto one participant. Works on a template deal: the response then includes isTemplate=true, and the saved contact is copied into every deal created from that template.

Requires the api_deals_send scope.

Authorization

bearerAuth
AuthorizationBearer <token>

Bearer token using a Clai API key secret (clai_live_*).

In: header

Path Parameters

NameTypeDescription
orgId
required
string

Organization ID the key is operating in

dealId
required
string

Deal ID that owns the package

Formatuuid
packageId
required
string

Package ID

Formatuuid
participantId
required
string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

NameTypeDescription
contact
required
object
One of Option 1
fullName
required
string
Length1 <= length
email
required
string
Formatemail
One of self: true
self
required
true
partystring

The person's role in the transaction (buyer, seller, landlord, tenant…), separate from their signing role.

Allowed"client""company""guarantor""co_signer""witness""attorney""transaction_coordinator""notary""trustee""personal_representative""attorney_in_fact""assignee""other""buyer""seller""buyer_agent""listing_agent""buyer_broker""listing_broker""broker""landlord""tenant""subtenant""occupant""property_manager""leasing_agent""owner""lender""mortgage_broker""escrow_agent""title_company""closing_agent""appraiser""inspector""association"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.goclai.com/api/v1/orgs/org_2abc123/deals/550e8400-e29b-41d4-a716-446655440010/packages/550e8400-e29b-41d4-a716-446655440011/participants/string/contact" \  -H "Content-Type: application/json" \  -d '{    "contact": {      "fullName": "string",      "email": "user@example.com"    }  }'
{
  "participant": {
    "participantId": "string",
    "label": "string",
    "role": "signer",
    "routingOrder": 0,
    "fullName": "string",
    "email": "string",
    "phone": "string",
    "needsContact": true,
    "party": "client"
  },
  "readiness": {
    "canSend": true,
    "blockers": [
      {
        "reason": "missing_email",
        "participantId": "string",
        "label": "string"
      }
    ]
  },
  "warnings": [
    "duplicate_email"
  ],
  "isTemplate": true
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}