import { GetContactRequest } from "mcp-hubspot/models/operations";
let value: GetContactRequest = {
contactId: "<id>",
};
Field | Type | Required | Description |
---|---|---|---|
contactId |
string | ✔️ | The ID of the contact to retrieve. |
properties |
string[] | ➖ | A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored. |
propertiesWithHistory |
string[] | ➖ | A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. |
associations |
string[] | ➖ | A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored. |
archived |
boolean | ➖ | Whether to return only results that have been archived. |