> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Get Contact

- Component: `appmixer.surveymonkey.core.GetContact`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.surveymonkey 1.0.0](https://connectors.appmixer.com/connector/appmixer.surveymonkey/1.0.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.surveymonkey/1.0.0/component/appmixer.surveymonkey.core.GetContact>

Get a contact from your SurveyMonkey address book.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Contact ID (`contactId`) | text | The ID of the contact. Use Find Contacts to look it up. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Contact ID (`id`) | string | - |
| First Name (`first_name`) | string | - |
| Last Name (`last_name`) | string | - |
| Email (`email`) | string | - |
| Phone Number (`phone_number`) | string | - |
| Custom Fields (`custom_fields`) | object | - |
| API URL (`href`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.surveymonkey.core.GetContact",
  "label": "Get Contact",
  "description": "Get a contact from your SurveyMonkey address book.",
  "author": "Appmixer <info@appmixer.com>",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:surveymonkey"
  },
  "quota": {
    "manager": "appmixer:surveymonkey",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string"
          }
        },
        "required": [
          "contactId"
        ]
      },
      "inspector": {
        "inputs": {
          "contactId": {
            "type": "text",
            "index": 1,
            "label": "Contact ID",
            "tooltip": "The ID of the contact. Use Find Contacts to look it up."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "schema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "title": "Contact ID",
            "example": "3456789012"
          },
          "first_name": {
            "type": "string",
            "title": "First Name",
            "example": "Jane"
          },
          "last_name": {
            "type": "string",
            "title": "Last Name",
            "example": "Doe"
          },
          "email": {
            "type": "string",
            "title": "Email",
            "example": "jane.doe@example.com"
          },
          "phone_number": {
            "type": "string",
            "title": "Phone Number",
            "example": "+15555550123"
          },
          "custom_fields": {
            "type": "object",
            "title": "Custom Fields",
            "example": {
              "1": "Ms",
              "2": "Acme Inc."
            },
            "properties": {}
          },
          "href": {
            "type": "string",
            "title": "API URL",
            "example": "https://api.surveymonkey.com/v3/contacts/3456789012"
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
