Skip to main content
The People endpoint returns all contacts stored in your Portal.io dealer account. You can narrow results with a free-text search, filter by one or more contact types, control sort order, and paginate using PageNumber and PageSize. When either pagination value is missing or less than or equal to zero, the API defaults to page 1 with 10 results per page.

Request

GET /public/people

Headers

Accept
string
required
Must be application/json.
X-MSS-API-APPID
string
required
Your API Application Key.
X-MSS-API-USERKEY
string
required
Your User API Key.
X-MSS-CUSTOM-DATE
string
required
Current UTC timestamp in RFC 7231 format (e.g. Mon, 06 Apr 2026 00:22:19 GMT).
X-MSS-SIGNATURE
string
required
HMAC-SHA256 signature of the canonical request, Base64-encoded.

Query Parameters

SearchText
string
Free-text string matched against contact names, company names, and email addresses.
ContactTypes
string
Comma-separated list of contact type values to include. When omitted, all contact types are returned.
SortBy
string
Field to sort results by (e.g. LastName, CompanyName).
SortDirection
string
Sort direction. One of Ascending or Descending. Defaults to Ascending.
PageNumber
integer
1-based page index. Defaults to 1 when missing or less than 1.
PageSize
integer
Number of records per page. Defaults to 10 when missing or ≤ 0.

Response

200 Success

people
array
required
Array of contact objects matching the search criteria.
peopleCount
integer
required
Total number of contacts matching the query (across all pages).

Error Codes

CodeMeaning
401Not authorized. Your HMAC signature was incorrect or credentials are invalid.
402An active Portal.io subscription is required to use this endpoint.
403Your user account does not have permission for this API call.

Example

curl -i -X GET \
  'https://api.portal.io/public/people?SearchText=Smith&PageNumber=1&PageSize=10' \
  -H 'Accept: application/json' \
  -H 'X-MSS-API-APPID: YOUR_APP_ID' \
  -H 'X-MSS-API-USERKEY: YOUR_USER_KEY' \
  -H 'X-MSS-CUSTOM-DATE: Mon, 06 Apr 2026 00:22:19 GMT' \
  -H 'X-MSS-SIGNATURE: BASE64_SIGNATURE'
{
  "people": [
    {
      "id": 1042,
      "partyType": "Individual",
      "contactType": "Customer",
      "firstName": "Jane",
      "lastName": "Smith",
      "companyName": "",
      "contactEmail": "jane.smith@example.com",
      "contactEmailCC": "",
      "contactPhone": "555-555-0100"
    }
  ],
  "peopleCount": 1
}