# Get Contact

Reads one contact’s email and SMS statuses, fields for a reference, manual tag IDs and edit link. Missing channels are empty. Dates and times use the account’s displayed format and time zone.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "contactId": {
      "type": "integer",
      "description": "Numeric contact ID returned by search-contacts",
      "minimum": 1
    },
    "referenceId": {
      "type": "integer",
      "description": "Reference whose multi-value fields and manual tags to read; 0 for contact-wide values",
      "default": 0,
      "minimum": 0
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account the access token works in",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "contactId"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "contactId",
    "email",
    "subscriptionStatus",
    "phoneNumber",
    "smsSubscriptionStatus",
    "referenceId",
    "fields",
    "manualTagIds",
    "editUrl"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "contactId": {
      "type": "integer"
    },
    "email": {
      "type": "string"
    },
    "subscriptionStatus": {
      "type": "string"
    },
    "phoneNumber": {
      "type": "string"
    },
    "smsSubscriptionStatus": {
      "type": "string"
    },
    "referenceId": {
      "type": "integer"
    },
    "fields": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "fieldId",
          "value",
          "type",
          "referenceId"
        ],
        "properties": {
          "fieldId": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "referenceId": {
            "type": "integer"
          }
        }
      }
    },
    "manualTagIds": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "editUrl": {
      "type": "string"
    }
  }
}
```

