---
title: Fetch Contact by Emails
slug: fetch-contact-by-emails
docTags: 
createdAt: 2026-08-25T19:28:59.170Z
---

{
  "id": "ntiOcIctZUJP2RQZqgy6l",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.nue.io/contacts",
    "servers": [
      {
        "url": "https://api.nue.io/contacts",
        "description": "**Production Environment** - Live production server for all customer-facing operations. Use this for production integrations with real customer data and transactions."
      },
      {
        "url": "https://api.sandbox.nue.io/contacts",
        "description": "**Sandbox Environment** - Safe testing environment with sample data for development and integration testing. No rate limits apply. Data is reset weekly. Perfect for prototyping and QA testing."
      }
    ],
    "name": "Fetch Contact by Emails",
    "description": "<p>This endpoint retrieves contact information based on the provided email addresses, allowing you to access details for multiple contacts in a single request.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [
        {
          "kind": "required",
          "name": "emails",
          "type": "array",
          "description": "<p>A JSON-encoded array of email addresses to fetch the corresponding contact information.</p>",
          "schema": [],
          "itemType": "string",
          "customType": "string[]"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "ApiKeyAuth",
          "name": "nue-api-key",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful response",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "status",
                "kind": "optional",
                "type": "string<SUCCESS | PARTIAL_SUCCESS | FAILURE>",
                "description": "Indicates the overall status of the request",
                "enum": [
                  "SUCCESS",
                  "PARTIAL_SUCCESS",
                  "FAILURE"
                ]
              },
              {
                "name": "data",
                "kind": "optional",
                "type": "array",
                "description": "Array of contacts",
                "example": "",
                "itemType": "object",
                "customType": "object[]",
                "schema": [
                  {
                    "name": "billingCity",
                    "kind": "optional",
                    "type": "string",
                    "description": "City component of the contact's billing address"
                  },
                  {
                    "name": "billingCountry",
                    "kind": "optional",
                    "type": "string",
                    "description": "Country component of the contact's billing address"
                  },
                  {
                    "name": "billingPostalCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Postal code component of the contact's billing address"
                  },
                  {
                    "name": "billingState",
                    "kind": "optional",
                    "type": "string",
                    "description": "State or province component of the contact's billing address"
                  },
                  {
                    "name": "billingStreet",
                    "kind": "optional",
                    "type": "string",
                    "description": "Street address component of the contact's billing address"
                  },
                  {
                    "name": "birthday",
                    "kind": "optional",
                    "type": "string<date>",
                    "description": "<p>Birth date of the contact person in ISO format (YYYY-MM-DD)</p>",
                    "format": "date"
                  },
                  {
                    "name": "createdById",
                    "kind": "optional",
                    "type": "string",
                    "description": "ID of the user who created the record"
                  },
                  {
                    "name": "createdDate",
                    "kind": "optional",
                    "type": "string<date-time>",
                    "description": "Creation timestamp",
                    "format": "date-time"
                  },
                  {
                    "name": "customerId",
                    "kind": "optional",
                    "type": "string",
                    "description": "ID of the customer associated with the contact"
                  },
                  {
                    "name": "email",
                    "kind": "optional",
                    "type": "string<email>",
                    "description": "<p>Email address of the contact person, used for communications</p>",
                    "format": "email"
                  },
                  {
                    "name": "firstName",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>First name of the contact person, limited to 40 characters</p>"
                  },
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unique identifier for the contact"
                  },
                  {
                    "name": "lastModifiedById",
                    "kind": "optional",
                    "type": "string",
                    "description": "ID of the user who last modified the record"
                  },
                  {
                    "name": "lastModifiedDate",
                    "kind": "optional",
                    "type": "string<date-time>",
                    "description": "Last modification timestamp",
                    "format": "date-time"
                  },
                  {
                    "name": "lastName",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Last name of the contact person, limited to 80 characters</p>"
                  },
                  {
                    "name": "middleName",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Middle name of the contact person, limited to 40 characters</p>"
                  },
                  {
                    "name": "mobilePhone",
                    "kind": "optional",
                    "type": "string",
                    "description": "Mobile or cell phone number of the contact person"
                  },
                  {
                    "name": "name",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Full name of the contact person, required field</p>"
                  },
                  {
                    "name": "phone",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Primary phone number of the contact person, such as office or home number</p>"
                  },
                  {
                    "name": "shippingCity",
                    "kind": "optional",
                    "type": "string",
                    "description": "City component of the contact's shipping address"
                  },
                  {
                    "name": "shippingCountry",
                    "kind": "optional",
                    "type": "string",
                    "description": "Country component of the contact's shipping address"
                  },
                  {
                    "name": "shippingPostalCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Postal code component of the contact's shipping address"
                  },
                  {
                    "name": "shippingState",
                    "kind": "optional",
                    "type": "string",
                    "description": "State or province component of the contact's shipping address"
                  },
                  {
                    "name": "shippingStreet",
                    "kind": "optional",
                    "type": "string",
                    "description": "Street address component of the contact's shipping address"
                  },
                  {
                    "name": "suffix",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Name suffix of the contact person (e.g., Jr., Sr., III), limited to 40 characters</p>"
                  },
                  {
                    "name": "title",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Professional or organizational title of the contact person (e.g., CEO, Director)</p>"
                  }
                ]
              },
              {
                "name": "warnings",
                "kind": "optional",
                "type": "array",
                "description": "Any warnings generated during processing",
                "example": "",
                "itemType": "object",
                "customType": "object[]",
                "schema": [
                  {
                    "name": "code",
                    "kind": "optional",
                    "type": "string",
                    "description": "Warning code"
                  },
                  {
                    "name": "message",
                    "kind": "optional",
                    "type": "string",
                    "description": "Warning message"
                  }
                ]
              }
            ],
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "<p>Bad Request - The request was malformed or contained invalid parameters</p>",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "401",
        "description": "<p>Unauthorized - Authentication information is missing or invalid</p>",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "EUvAYxcb0uIZflkfNMHbW",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url 'https://api.nue.io/contacts?emails=array' \\\n     --header 'accept: application/json'"
        },
        {
          "id": "s7Q8QyS4dpwZQlVbxczjn",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.nue.io/contacts?emails=array\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "PvF_-zh4OiWRYSXOP6Jxc",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.nue.io/contacts?emails=array\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "2RsGaDhRkL19UFIIx-hjv",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.nue.io/contacts?emails=array\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "EUvAYxcb0uIZflkfNMHbW"
    },
    "results": {
      "languages": [
        {
          "id": "m34gGAn6bDYkoteNrIpWq",
          "language": "200",
          "code": "// Successful response\n{\n  \"status\": \"\",\n  \"data\": [\n    {\n      \"billingCity\": \"\",\n      \"billingCountry\": \"\",\n      \"billingPostalCode\": \"\",\n      \"billingState\": \"\",\n      \"billingStreet\": \"\",\n      \"birthday\": \"\",\n      \"createdById\": \"\",\n      \"createdDate\": \"\",\n      \"customerId\": \"\",\n      \"email\": \"\",\n      \"firstName\": \"\",\n      \"id\": \"\",\n      \"lastModifiedById\": \"\",\n      \"lastModifiedDate\": \"\",\n      \"lastName\": \"\",\n      \"middleName\": \"\",\n      \"mobilePhone\": \"\",\n      \"name\": \"\",\n      \"phone\": \"\",\n      \"shippingCity\": \"\",\n      \"shippingCountry\": \"\",\n      \"shippingPostalCode\": \"\",\n      \"shippingState\": \"\",\n      \"shippingStreet\": \"\",\n      \"suffix\": \"\",\n      \"title\": \"\"\n    }\n  ],\n  \"warnings\": [\n    {\n      \"code\": \"\",\n      \"message\": \"\"\n    }\n  ]\n}"
        },
        {
          "id": "BUw7mZhyubX-EYBQmbXs-",
          "language": "400",
          "code": "// Bad Request - The request was malformed or contained invalid parameters\n"
        },
        {
          "id": "9-JOE1Igek-UwZICiOrEt",
          "language": "401",
          "code": "// Unauthorized - Authentication information is missing or invalid\n"
        }
      ],
      "selectedLanguageId": "m34gGAn6bDYkoteNrIpWq"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}