# createContactFromProperty

Create a CRM contact from a property (id/esId). It runs skip-trace enrichment on the property and CONSUMES ONE SKIPTRACE CREDIT (plan allowance first except in a trial, then real money; checkBillingAction): ADMIN scope, and the key owner must be a team admin. Returns the property with its linked contacts, the new one included.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "createContactFromProperty", "variables": {...} }`
- Scope: `ADMIN`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `propertyId`: `ID!` (required)

## Response (data, an example)

```json
{
  "propertyMutation": {
    "createContact": {
      "id": "<ID>",
      "address": {
        "addressFull": "…"
      },
      "contacts": [
        {
          "id": "<ID>",
          "name": "…",
          "createdAt": "2026-01-01T00:00:00.000Z"
        }
      ]
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "createContactFromProperty",
    "variables": {
      "propertyId": "<propertyId>"
    }
  }'
```
