Update Person

patch/v1/people/{person_id}

Updates a person's attributes and/or relationship sets. Only supplied attributes change. Relationship arrays passed as null detach all links of that kind. Side effect: writes the person row and reconciles the named junctions.

Requires a bearer token: Authorization: Bearer <token>.

Path parameters

NameTypeRequiredDescription
person_idstring <uuid>YesPublic UUID of the person.e.g. c4d5e6f7-8a9b-40c1-92d3-e4f5a6b7c8d9

Request

cURL
curl -X PATCH https://api.wellapp.ai/v1/people/{person_id} \
  -H "Authorization: Bearer $WELL_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "data": {
    "type": "people",
    "id": "c4d5e6f7-8a9b-40c1-92d3-e4f5a6b7c8d9",
    "attributes": {
      "job_title": "Founder and CEO"
    }
  }
}'
Request body
{
  "data": {
    "type": "people",
    "id": "c4d5e6f7-8a9b-40c1-92d3-e4f5a6b7c8d9",
    "attributes": {
      "job_title": "Founder and CEO"
    }
  }
}

Responses

200The updated person.

{
  "data": {
    "type": "people",
    "id": "c4d5e6f7-8a9b-40c1-92d3-e4f5a6b7c8d9",
    "attributes": {
      "full_name": "Remy Okafor",
      "first_name": "Remy",
      "last_name": "Okafor",
      "job_title": "Founder and CEO",
      "created_at": "2026-01-12T09:31:00.000Z",
      "updated_at": "2026-05-18T11:22:09.000Z"
    },
    "relationships": {
      "companies": {
        "data": [
          {
            "type": "companies",
            "id": "b2c3d4e5-6f70-4812-93a4-b5c6d7e8f9a0"
          }
        ]
      }
    }
  },
  "included": []
}

400Bad Request

{
  "code": "BAD_REQUEST",
  "status": 400,
  "title": "Bad Request",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}

401Unauthorized

{
  "code": "UNAUTHORIZED",
  "status": 401,
  "title": "Unauthorized",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}

403Forbidden

{
  "code": "FORBIDDEN",
  "status": 403,
  "title": "Forbidden",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}

404Not Found

{
  "code": "NOT_FOUND",
  "status": 404,
  "title": "Not Found",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}