List all contacts

GET /contacts

Retrieve all contacts shared by the team

Query parameters

  • offset integer

    Ranking number of the first item on the page

  • limit integer

    Number of results to return

    Maximum value is 100. Default value is 50.

  • sort string

    Specify how to sort the results

    Values are fnAsc, fnDesc, lnAsc, lnDesc, emAsc, emDesc, tagAsc, or tagDesc.

  • email string

    Email address you want to look up. This search is an exact match and is case-sensitive.

  • First name you want to look up. This search is an exact match and is not case-sensitive.

  • lastname string

    Last name you want to look up. This search is an exact match and is not case-sensitive.

Responses

  • 200 application/json

    Success

    Hide response attributes Show response attributes object
  • Bad Request -- Your request is invalid.

  • Unauthorized -- Your API key is wrong.

  • Forbidden -- The object requested is hidden for administrators only.

  • Not Found -- The specified object could not be found.

  • Too Many Requests -- You're requesting too many objects! Slow down!

  • Internal Server Error -- We had a problem with our server. Try again later.

  • Service Unavailable -- We're temporarily offline for maintenance. Please try again later.

GET /contacts
curl \
 -X GET https://api.usecollect.com/v1/contacts
Response examples (200)
[
  {
    "_id": "uBJadNFcjrC6emRom",
    "tag": [
      "Speaker"
    ],
    "email": "johndoe@example.com",
    "custom": [
      {
        "_id": "yw6XDyeFvbqr86yA6",
        "name": "Favorite color",
        "value": "Blue",
        "variable": "color"
      },
      {
        "_id": "CqdFwGX3yitk9zf8z",
        "name": "Country",
        "value": "US",
        "variable": "country"
      }
    ],
    "lastName": "Doe",
    "firstName": "John"
  }
]